MozTW 討論區
https://forum.moztw.org/

Sunbird/Calendar 中文化 2005.2.20
https://forum.moztw.org/viewtopic.php?f=19&t=6491
1 頁 (共 2 頁)

發表人:  BobChao [ 2005-02-13, 17:41 ]
文章主題 :  Sunbird/Calendar 中文化 2005.2.20

20050220 : 修正選項的問題,很抱歉包新的居然沒測試好 T_T

Sunbird 安裝方式:
引言回覆:
1. 下載附檔、改附檔名為 jar、丟到 {Sunbird 安裝目錄}\chrome 中。
2. 把 {Sunbird 安裝目錄}\chrome 中的 chrome.rdf 打開
3. 尋找 calendar.jar!/locale/en-US/calendar/
4. 找到後改為 calendar-zh-TW.jar!/locale/zh-TW/calendar/
5. 存檔
6. 刪掉 Profile 資料夾中的 XUL.mfl,重新啟動 Sunbird

Calendar 安裝方式:
引言回覆:
1. 下載附檔、改附檔名為 jar、丟到 {Profile 資料夾}\extensions\{8e117890-a33f-424b-a2ea-deb272731365} 中。
2. 把 {Profile 資料夾}\chrome 中的 chrome.rdf 打開
3. 尋找 「calendar.jar!/locale/en-US/calendar/」
4. 找到後改為 「calendar-zh-TW.jar!/locale/zh-TW/calendar/」
5. 存檔
6. 刪掉 Profile 資料夾中的 XUL.mfl,重新啟動 Mozilla/Firefox/Thunderbird


Profiles 資料夾的位置請參考 Firefox 的版本資訊。

我把語系檔案都放在 OpenSVN 主機上了,你可以用 svn checkout http://OpenSVN.csie.org/sunbird_zhtw 取得所有檔案,有意願幫忙、想拿 commit 權的請傳訊給我。

2005.02.18 update:
這個版本已經送上 Bugzilla, 有望從下次開始跟著官方版一起出... 請大家用力抓 bug :P

2005.02.19 update:
時區都翻譯完了,感謝大家
https://bugzilla.mozilla.org/show_bug.cgi?id=282665

附加檔案:
檔案註釋: Sunbird 的中文語系 (0.2 20050220)
calendar-zh-TW.zip [90.81 KiB]
被下載 1528 次

發表人:  BobChao [ 2005-02-18, 12:19 ]
文章主題 : 

推一下廣告 XD
Timezone 那個部分的 Credit 要算 Mozilla Taiwan Community 的

發表人:  kourge [ 2005-02-18, 14:25 ]
文章主題 : 

我還正為 Sunbird 的 localizing 煩惱呢...

引言回覆:
Hello,
We are working to make sunbird localizable the same way firefox is and
will let the community know soon.
Meanwhile, I should note that there is a czech translation already.
See http://www.czilla.cz/addons/

Regards
Mostafa

發表人:  isaackuo [ 2005-02-19, 02:12 ]
文章主題 : 

不知道BobChao有沒有是過把 Sunbird/Calendar的檔案
匯出再匯入?
從以前用到現在只要換版本後
原本的中文字全變成 ??

發表人:  BobChao [ 2005-02-19, 03:12 ]
文章主題 : 

isaackuo 寫:
不知道BobChao有沒有是過把 Sunbird/Calendar的檔案
匯出再匯入?
從以前用到現在只要換版本後
原本的中文字全變成 ??


我有碰上耶,是這樣:

1. 把 Calendar 裝在 Firefox 跟 thunderbird 上
2. 把那兩個的行事曆位置設定得跟 Sunbird 一樣,這樣可以共用

然後 Thunderbird 沒事,但是 Firefox 中的 Calendar 有許多事件變成 「??????」。

原來的 Sunbird 無影響。

目前不知原因,我試著把 unicode 補完計畫移除玩玩看。

發表人:  isaackuo [ 2005-02-19, 11:54 ]
文章主題 : 

BobChao 寫:
isaackuo 寫:
不知道BobChao有沒有是過把 Sunbird/Calendar的檔案
匯出再匯入?
從以前用到現在只要換版本後
原本的中文字全變成 ??


我有碰上耶,是這樣:

1. 把 Calendar 裝在 Firefox 跟 thunderbird 上
2. 把那兩個的行事曆位置設定得跟 Sunbird 一樣,這樣可以共用

然後 Thunderbird 沒事,但是 Firefox 中的 Calendar 有許多事件變成 「??????」。

原來的 Sunbird 無影響。

目前不知原因,我試著把 unicode 補完計畫移除玩玩看。


應該和 unicode 補完計畫沒有關係
因為個人用的環境都沒裝過...

發表人:  kourge [ 2005-02-19, 15:15 ]
文章主題 : 

我發現了幾個問題,所以就發到 bugzilla 了
下面是中文版
最下面是原來的版

有幾個問題:
1) 工具 > 選項 會造成 XML Parsing Error (詳細資訊將列於下面)
2) 有些對話框沒有中文化,例如,JavaScript 控制台(其實應該叫 "主控台")以及"關於"對話框
3) "OK"(確定) 和 "Cancel"(取消)沒有中文化
4) 功能表的項目,項目名稱和快速鍵的括號之間有多餘空格(下面會有畫面)

=========================================

問題 1 詳細資料:
Reproducable - 絕對
步驟 - 按 工具 > 選項
Expected - 選項視窗應該出現
結果 - 黃色背景的視窗出現,內顯示下列文字:
XML Parsing Error: error in processing external entity reference
Location: chrome://calendar/content/pref/pref.xul
Line Number 9, Column 4:
%calendarPrefsOverlayDTD;
---^

螢幕畫面:
http://img203.exs.cx/img203/166/sbshot14kl.png

=========================================

問題 4 詳細資料:
步驟 - 點選任何功能表項目
Expected - 項目名稱和快速鍵的括號之間不該有多餘空格
Result - 項目名稱和快速鍵的括號之間多餘空格

螢幕畫面:
http://img212.exs.cx/img212/2318/sbshot28lk.png

畫面描述:
上面的視窗是 Sunbird。我把一部分多餘的空格圈了起來。有些空格沒有圈起來以便比較。
下面的視窗是 Firefox。Firefox 沒有這個問題。沒有空格的區域有小箭頭指著。



引言回覆:
There are a few problems:
1) Tools > Options causes XML Parsing Error (details will be described below)
2) Some dialogs aren't localized, for example, the JavaScript Console and the About dialog
3) "OK" and "Cancel" aren't localized
4) The menubar items has additional spaces between the item name and hotkey apostrophes (screenshot will be included below)

=========================================

Problem 1 detail:
Reproducable - Always
Steps - Goto Tools > Options
Expected - The Option window should appear
Result - A windows with yellow background appears, with the following text displayed:
XML Parsing Error: error in processing external entity reference
Location: chrome://calendar/content/pref/pref.xul
Line Number 9, Column 4:
%calendarPrefsOverlayDTD;
---^

A screenshot is availible at:
http://img203.exs.cx/img203/166/sbshot14kl.png

=========================================

Problem 4 detail:
Reproducable - Always
Steps - Click on any menu item
Expected - There shouldn't be any spaces between the menu item name and hotkey apostrophes
Result - There is an additional space between the menu item name and hotkey apostrophes

Screenshot:
http://img212.exs.cx/img212/2318/sbshot28lk.png

Screenie description:
The window on the top is Sunbird. I circled some of the additional spaces. Some spaces aren't circled for comparsion.
The window below is Firefox. Firefox doesn't have this problem. The area that doesn't have spaces is pointed by small arrows.

發表人:  BobChao [ 2005-02-19, 22:05 ]
文章主題 : 

kourge 寫:
1) 工具 > 選項 會造成 XML Parsing Error (詳細資訊將列於下面)
2) 有些對話框沒有中文化,例如,JavaScript 控制台(其實應該叫 "主控台")以及"關於"對話框
3) "OK"(確定) 和 "Cancel"(取消)沒有中文化
4) 功能表的項目,項目名稱和快速鍵的括號之間有多餘空格(下面會有畫面)


1 是我的錯
2 3 我覺得先不要翻,那是 toolkit 裡的東西,以後 sunbird 改的幅度還很大,我想他們遲早要把 toolkit 裡的 string 拉出來。
4 有部分是語系檔裡要求要空格的 我就不太清楚為什麼...
日文等都有這個問題,我解決不了,若要追究請另開新 bug
(edit: 我原先寫的當作沒看見吧,語系檔裡要求空白的地方跟選單無關)

2,3 還有一個支持理由:目前官方 Sunbird/Calendar 都必須使用者自行修改檔案才有中文介面,所以這些未來可能變動的地方應該很可以等。

「主控台」那個是我的錯,不過問題不大,下回有別的字串時一併改。

發表人:  kourge [ 2005-02-21, 08:10 ]
文章主題 : 

我問過 Mostafa(Sunbird 的主導人)
他說,他們目前努力將 Sunbird 處理程跟 Firefox 一樣方便中文化
他也提到,Sunbird 已經有捷克文了

發表人:  Baa [ 2005-02-24, 07:21 ]
文章主題 : 

isaackuo 寫:
不知道BobChao有沒有是過把 Sunbird/Calendar的檔案
匯出再匯入?
從以前用到現在只要換版本後
原本的中文字全變成 ??


我也被這問題困擾很久, 後來上網找了很久, 發現有人提到
匯出前用括號 () 把中文包起來, 就不會變成 ???? 了, 我試
了之後果然有效, 參考看看....

發表人:  aaronwang [ 2005-02-24, 07:45 ]
文章主題 : 

請問安裝主檔在哪裡?
我去 Mozilla Firefox Extensions 官網找
找不到給 1.0 用的~~ @@
:cry: :cry: :cry:

發表人:  kourge [ 2005-02-24, 12:25 ]
文章主題 : 

可以到 Sunbird 的下載頁面:
http://www.mozilla.org/projects/calendar/sunbird_download.html

發表人:  isaackuo [ 2005-02-25, 00:01 ]
文章主題 : 

Baa 寫:
isaackuo 寫:
不知道BobChao有沒有是過把 Sunbird/Calendar的檔案
匯出再匯入?
從以前用到現在只要換版本後
原本的中文字全變成 ??


我也被這問題困擾很久, 後來上網找了很久, 發現有人提到
匯出前用括號 () 把中文包起來, 就不會變成 ???? 了, 我試
了之後果然有效, 參考看看....


真的嗎?
那這陣子來用用看
不然只要一換新版的要嗎就是舊的不要了
不然就是重 key 中文...
而且這樣還不能拿到不同搭配的程式中使用

發表人:  BobChao [ 2005-02-26, 01:20 ]
文章主題 : 

Baa 寫:
isaackuo 寫:
不知道BobChao有沒有是過把 Sunbird/Calendar的檔案
匯出再匯入?
從以前用到現在只要換版本後
原本的中文字全變成 ??


我也被這問題困擾很久, 後來上網找了很久, 發現有人提到
匯出前用括號 () 把中文包起來, 就不會變成 ???? 了, 我試
了之後果然有效, 參考看看....


可不可以問一下那篇文章在哪裡呢? 不太清楚要用什麼關鍵字找...
(如果有提到相關的 bug 最好了,因為我現在無法確定這個問題是不是已經有人回報了)

發表人:  BobChao [ 2005-02-26, 11:25 ]
文章主題 :  幫忙試一下

1. 裝好 Sunbird 跟 Calendar extension for Fx/TB/Mozilla(這三個選一個就行了)
2. 先在 Sunbird 裡建立一個新行事曆,路徑就選 C:\ 吧(反正等會要刪了)
3. 在新行事曆中新增一個事件,名曰「會計學」,然後關掉 Sunbird
4. 開啟你安裝的 Mozilla Calendar extension, 開啟剛剛你新增的行事曆(在 File 選單中)
5. 看看剛剛的「會計學」有沒有變成 「???????」

不管有沒有,幫忙回報一下你使用的 Windows 版本、Calendar 版本跟 Sunbird 版本。簡單說我在 News Group 上問這個問題,可是有人回答他不會有這種情形... 所以我想測試看看是不是只有正體中文 Windows 才會有這樣的問題.. 或是有其他因素?

1 頁 (共 2 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/