BBB 及 Greenlight 視訊會議技術討論區

有關 BigBlueButton 的共享筆記 (Shared Notes) 出現簡體中文原因及暫時解決方法

有關 BigBlueButton 的共享筆記 (Shared Notes) 出現簡體中文原因及暫時解決方法

- admin 系統管理 の投稿
返信数: 0

有關 BigBlueButton 的共享筆記 (Shared Notes) 出現簡體中文原因及暫時解決方法

原因: BigBlueButton 的共享筆記是採用 etherpad-lite( https://github.com/ether/etherpad-lite )

etherpad-lite 的多國語言的 json 在 https://github.com/ether/etherpad-lite/tree/develop/src/locales

可以看到簡體中文及繁體中文的檔名分別為: zh-hans.json, zh-hant.json

etherpad-lite 官方文件 https://etherpad.org/doc/v1.7.0/#index_client_side

提到是用 language cookie 來設定目前的語言。

   而 BigBlueButton 的 etherpad-lite 是放在 /usr/share/etherpad-lite

/usr/share/etherpad-lite/src/locales 目錄內容與 GitHub 一樣,可以看到簡體中文及繁體中文的檔

名分別為: zh-hans.json, zh-hant.json

  當我們使用 BBB 的共享筆記時,我們可以看到 BBB 設 language cookie 的值是 zh-tw

很明顯是 BBB 的程式在設定繁體中文的 language cookie 值設錯,因為 BBB 是一個很大的系統,

我花一些時間要找出 BBB 原始程式錯在那裡,卻找不到,只好想出一個暫時的解決方法:

cd /usr/share/etherpad-lite/src/locales

sudo cp zh-hant.json zh-tw.json

ls -l

最後一定要記得執行

sudo bbb-conf --restart

再執行一次共享筆記,確認是否已經可以顯示繁體中文

題外話:

有空應該將此問題反應到 https://github.com/bigbluebutton/bigbluebutton/issues