OpenBiblio Thai

This is a Thai (ภาษาไทย) translation of the open source library system OpenBiblio, based on version 0.6.1. Most of the interface has been translated except some deep elements.

Because OpenBiblio has multiple bugs with localization support (particularly in new elements introduced in 0.6.0) I had to modify the code in many places and therefore this release will NOT be compatible with future versions from official OpenBiblio sources. Note that it means some interface elements will revert back to English when upgraded – the database should remain compatible.

To switch languages, go to Admin -> Library Settings -> Locale and select from the drop-down menu. Also, if you want to enter Thai text for book names, enter UTF-8 for HTML Charset.

Screenshots

Download: OpenBiblio Thai 0.6.1 (727 KB)

8 Responses to “OpenBiblio Thai”

  1. Sephanov says:

    ขอบคุณมากๆครับ

    แต่ผมมีปัญหาอยู่นิดนึงตรงที่การคำนวนเรื่องวันเวลาครับ ผมอยากให้คำนวนค่าปรับวันต่อวัน ทันทีที่ยิืมออกครับ

    ถ้าเราเปลี่ยนจำนวนวันยืมเป็น 0 หนังสือก็จะยืมออกไม่ได้
    แต่ถ้าเราเปลี่ยนเป็น 1 เราต้องรอ 1 วัน แล้วโปรแกรมจึงจะคำนวนค่าปรับ
    ไม่ทราบว่าพอจะช่วยเหลือตรงนี้ได้ไหมครับ

    ขอบคุณครับ

  2. mizst says:

    ต้องแก้ code ใน /circ/checkout.php นะครับ เพราะว่ามัน hard-code ไว้ บรรทัดที่ 152 แก้จาก

    if ($daysDueBack <= 0) {

    เป็น

    if ($daysDueBack < 0) {

    (เอาเครื่องหมาย = ออก)

    ก็จะสามารถยืมหนังสือที่ set วันยืม 0 วันได้ครับ

    แต่ผมว่ามันก็แปลก ๆ อยู่นะ คือใครยืมหนังสือนี้ปุ๊บก็โดนค่าปรับทุกคนสิครับ? เพราะว่าอนุญาตให้ยืมได้ 0 วัน ก็คือเกินกำหนดส่งคืนทันทีที่ยืม โปรแกรมเค้าก็เลยทำไว้ให้ว่า ถ้าให้ยืม 0 วันก็เท่ากับไม่ให้ยืมนั่นเอง

  3. Sephanov says:

    ขอบคุณครับ
    คือผมจะเอาไปใช้กับร้านหนังสือเช่าเล็กๆครับ แบบคิดค่ายืมวันต่อวัน เลยพยายามหาทางแก้วันยืมครับ เห่ะๆ

    ขอบคุณที่ช่วยเหลือครับ ขอบคุณครับ

  4. noi says:

    เริ่มต้นการใช้งานระบบเวอร์ชั่นภาษาไทยไม่ได้ ไม่ทราบว่าชื่อที่ใช้ login คือไรคะ

  5. palm says:

    ขอทราบ username password เข้าระบบครั้งแรกด้วยค่ะ

    เพราะใช้ admin , admin มันเข้าไม่ได้

  6. mizst says:

    ผมใช้ admin/admin มันก็เข้าได้นะครับ ลองลบ database แล้ว run ตัว install ใหม่ดูอีกครั้งครับ

    (ผมไม่ได้แก้ไขอะไรในส่วนของ installer เลยครับ แปลภาษาอย่างเดียว)

  7. tao says:

    Database Query Error – You’ve Probably Found a Bug
    Database query failed
    Please give all the information on this page to your support personnel.

    Query select * from settings failed. The DBMS said this:

    Table ‘openbiblio-db.settings’ doesn’t exist
    Debug Backtrace (most recent call first):
    C:\AppServ\www\openbibliothai\classes\Error.php:100 FatalHandler->printBackTrace()
    C:\AppServ\www\openbibliothai\classes\Error.php:68 FatalHandler->dbError(‘select * from settings’, ‘Database query failed’, ‘Table \’openbiblio-db.settings\’ doesn\’t exist’)
    C:\AppServ\www\openbibliothai\classes\Query.php:92 Fatal->dbError(‘select * from settings’, ‘Database query failed’, ‘Table \’openbiblio-db.settings\’ doesn\’t exist’)
    C:\AppServ\www\openbibliothai\classes\Query.php:287 Query->_act(‘select * from settings’)
    C:\AppServ\www\openbibliothai\classes\SettingsQuery.php:27 Query->_query(‘select * from settings’, ‘Error accessing library settings information.’)
    C:\AppServ\www\openbibliothai\shared\read_settings.php:27 SettingsQuery->execSelect()
    C:\AppServ\www\openbibliothai\shared\common.php:81 require_once(‘C:\\AppServ\\www\\openbibliothai\\shared\\read_settings.php’)
    C:\AppServ\www\openbibliothai\home\index.php:6 require_once(‘C:\\AppServ\\www\\openbibliothai\\shared\\common.php’)

    ช่วยด้วยครับ มันขึ้นแบบนี้

  8. mizst says:

    เหมือนจะ setup ไม่สำเร็จนะครับ (ไม่มี table) ลองลบทั้งหมดแล้วลงใหม่ตั้งแต่แรกอีกที ใช้ phpmyadmin ดูด้วยว่ามันสร้าง database สำเร็จรึเปล่า

    อีกอย่างคือ มันใช้กับ php5 ไม่ได้นะครับ (เดี๋ยวนี้แทบไม่มีที่ไหนใช้ php4 กันแล้ว) ผมเองก็เลิกใช้ openbiblio ไปนานแล้ว ไม่มีเครื่อง php4 สำหรับทดสอบด้วย เลยแก้ปัญหาของ openbiblio ไม่ค่อยจะได้แล้วเหมือนกัน

Leave a Reply

Subscribe to RSS Feed Follow me on Twitter!