|
|
界面协同翻译 [2010/04/14 05:24] gavin |
界面协同翻译 [2015/08/15 04:23] |
===== 界面协同翻译 ===== | |
| |
==== 支持语言:52种 ==== | |
| |
^中文名称 ^英文名称 ^文件名称 ^^ | |
|阿尔巴尼亚语 |Albanian | bitcomet-sq.mo || | |
|阿拉伯语 |Arabic |bitcomet-ar.mo || | |
|亚美尼亚语 |Armenian |bitcomet-hy.mo || | |
|巴斯克语 |Basque |bitcomet-eu.mo || | |
|孟加拉语 |Bengali |bitcomet-bn.mo |*查看注意| | |
|波斯尼亚语 |Bosnian |bitcomet-bs.mo || | |
|保加利亚语 |Bulgarian |bitcomet-bg.mo || | |
|加泰罗尼亚语 |Catalan |bitcomet-ca.mo || | |
|简体中文 |Chinese (Simplified) |bitcomet-zh_CN.mo || | |
|繁体中文 |Chinese (Traditional) |bitcomet-zh_TW.mo || | |
|繁体中文(香港) |Chinese (Hong Kong) |bitcomet-zh_TW.mo |*查看注意| | |
|克罗地亚语言 |Croatian |bitcomet-hr.mo || | |
|捷克语 |Czech |bitcomet-cs.mo || | |
|丹麦语 |Danish |bitcomet-da.mo || | |
|荷兰语 |Dutch |bitcomet-nl.mo || | |
|英语(美国) |English |bitcomet-en_US.mo || | |
|英语(英国) |English (United Kingdom) |bitcomet-en_GB.mo |*查看注意| | |
|英语(加拿大) |English (Canada) |bitcomet-en_CA.mo |*查看注意| | |
|英语(澳大利亚) |English (Australia) |bitcomet-en_AU.mo |*查看注意| | |
|爱沙尼亚语 |Estonian |bitcomet-et.mo || | |
|芬兰语 |Finnish |bitcomet-fi.mo || | |
|法语 |French |bitcomet-fr.mo || | |
|加利西亚语 |Galician |bitcomet-gl.mo || | |
|格鲁吉亚语 |Georgian |bitcomet-ka.mo |*查看注意| | |
|德语 |German |bitcomet-de.mo || | |
|希腊语 |Greek |bitcomet-el.mo || | |
|古吉拉特语 |Gujarati |bitcomet-gu.mo |*查看注意| | |
|希伯来语 |Hebrew |bitcomet-he.mo || | |
|匈牙利语 |Hungarian |bitcomet-hu.mo || | |
|冰岛语 |Icelandic |bitcomet-is.mo |*查看注意| | |
|印度尼西亚语 |Indonesian |bitcomet-id.mo || | |
|意大利语 |Italian |bitcomet-it.mo || | |
|日语 |Japanese |bitcomet-ja.mo || | |
|爪哇语 |Javanese |bitcomet-jv.mo |*查看注意| | |
|卡纳达语 |Kannada |bitcomet-kn.mo || | |
|哈沙克语 |Kazakh |bitcomet-kk.mo || | |
|柬埔寨语 |Khmer/Cambodian |bitcomet-km.mo |*查看注意| | |
|韩语 |Korean |bitcomet-ko.mo || | |
|拉脱维亚语 |Latvian |bitcomet-lv.mo || | |
|立陶宛语 |Lithuanian |bitcomet-lt.mo || | |
|马其顿语 |Macedonian |bitcomet-mk.mo || | |
|马来语 |Malay |bitcomet-ms.mo || | |
|蒙古语 |Mongolian |bitcomet-mn.mo |*查看注意| | |
|尼泊尔语 |Nepali |bitcomet-ne.mo || | |
|挪威语 |Norwegian |bitcomet-nb.mo || | |
|波斯语 |Persian/Farsi |bitcomet-fa.mo || | |
|波兰语 |Polish |bitcomet-pl.mo || | |
|葡萄牙语 |Portuguese |bitcomet-pt.mo || | |
|葡萄牙语(巴西) |Portuguese (Brazilian) |bitcomet-pt_BR.mo || | |
|罗马尼亚语 |Romanian |bitcomet-ro.mo || | |
|俄语 |Russian |bitcomet-ru.mo || | |
|塞尔维亚语 |Serbian |bitcomet-sr.mo || | |
|斯洛伐克语 |Slovak |bitcomet-sk.mo || | |
|斯洛文尼亚语 |Slovenian |bitcomet-sl.mo || | |
|西班牙语 |Spanish |bitcomet-es.mo || | |
|西班牙语(阿根廷) |Spanish (Argentina) |bitcomet-es_AR.mo |*查看注意| | |
|瑞典语 |Swedish |bitcomet-sv.mo || | |
|泰米尔语 |Tamil |bitcomet-ta.mo || | |
|泰卢固语 |Telugu |bitcomet-te.mo |*查看注意| | |
|泰语 |Thai |bitcomet-th.mo || | |
|土耳其语 |Turkish |bitcomet-tr.mo || | |
|维吾尔语 |Uighur |bitcomet-ug.mo || | |
|乌克兰语 |Ukrainian |bitcomet-uk.mo || | |
|乌尔都语 |Urdu |bitcomet-ur.mo || | |
|越南语 |Vietnamese |bitcomet-vi.mo || | |
| |
* **注意**: | |
- BitComet支持用*标记的语言,但是在BitComet安装包中没有提供对应的.mo文件,因为这些语言的翻译还有很多没有完成。 | |
- 如果您想要使用这些语言,请从[[https://translations.launchpad.net/bitcomet |Lanuchpad]]项目中下载对应的.mo文件,将下载完成的.mo文件放到BitComet安装目录的lang子目录中。 | |
| |
==== 帮助翻译BitComet语言文件 ==== | |
| |
BitComet(比特彗星)的语言文件翻译已经移到[[https://translations.launchpad.net/bitcomet |Lanuchpad]]上。 | |
| |
=== 在线翻译 === | |
| |
* 打开BitComet(比特彗星)在[[https://translations.launchpad.net/bitcomet |Lanuchpad]]上翻译项目。 | |
* 如果你没有Lanuchpad的帐号,请注册一个新帐号。 | |
{{:Translations_of_bitcomet_001_zh-hans.PNG}} | |
* 登录Lanuchpad网站之后,点击下图中的 "Choose Preferred Languages..." ,设置你所熟悉的语言种类。 | |
{{:Translations_of_bitcomet_002_zh-hans.PNG}} | |
* 在语言列表中勾选你所熟悉的语言【支持多选】,并保存。 | |
{{:Translations_of_bitcomet_003_zh-hans.PNG}} | |
* 在语言列表中,点击语言名称,进入相应语言的翻译页面。 | |
{{:Translations_of_bitcomet_004_zh-hans.PNG}} | |
* 在页面上搜索框中输入搜索关键字(关键字可以是你发现的翻译有误的内容)。在搜索结果列表中,对于翻译有误的项,你可以选择一个现有的推荐翻译内容 或者输入新的翻译内容。当你完成了当前页的翻译之后,请点击右下角的“Save & Continue” 保存 继续翻译。保存后的翻译内容会被合并到Launchpad,翻译内容审核通过后将被应用到比特彗星(BitComet)的下一个版本中。 | |
{{:Translations_of_bitcomet_005_zh-hans.PNG}} | |
| |
=== 离线翻译 === | |
| |
1.下载并安装poEdit软件。 | |
* 原版下载(http://www.poedit.net/) | |
* 免安装改进版([[http://download.bitcomet.com/tools/poedit/achive/poEdit1.4.2.zip |下载]]),改进如下: | |
- 除了"原始字符串"和"翻译"外,还会显示每个消息的"Message Context" 。 | |
- 默认按照"Message Context"排序。 | |
- 如果打开文件时按住Ctrl键,则按照"翻译"排序。 | |
- 支持使用POT文件一次更新项目里的所有PO文件。 | |
2.从Launchpad网站上,下载BitComet(比特彗星)语言文件( .po文件 )。 | |
* 登录Lanuchpad网站后,在语言列表中,点击你要下载的语言名称。 | |
{{:Translations_of_bitcomet_004_zh-hans.PNG}} | |
* 进入在线翻译页面,点击上面菜单中的"Download"按钮。 | |
{{:Translations_of_bitcomet_006_zh-hans.PNG}} | |
* 进入下载页面,选择PO文件格式,点击"Confirm Download"。 | |
{{:Translations_of_bitcomet_008_zh-hans.PNG}} | |
* 最后到你的注册邮箱中查收下载的PO文件。 | |
3.用Poedit打开下载的PO文件,翻译那些未翻译和翻译有误的项,保存。 | |
{{:Translations_of_bitcomet_011_zh-hans.PNG}} | |
4.使用BitComet加载翻译好的文件,验证翻译结果。 | |
* 将保存文件生成的MO文件复制到BitComet安装目录的lang子目录,命名为 bitcomet-xx.mo,即可启动BitComet,在工具->语言菜单加载该语言文件,验证翻译结果。 | |
{{:Translations_of_bitcomet_401_zh-hans.PNG}} | |
{{:Translations_of_bitcomet_402_zh-hans.PNG}} | |
5.将翻译保存后的PO文件上传到Launchpad网站上。 | |
* 进入在线翻译页面,点击"Upload a file"。 | |
{{:Translations_of_bitcomet_007_zh-hans.PNG}} | |
* 在资源浏览器中选择本地磁盘修改过的PO文件,并上传到Lanuchpad网站.。 | |
{{:Translations_of_bitcomet_009_zh-hans.PNG}} | |
| |
==== 小技巧 ==== | |
| |
=== PO文件转换为MO文件 === | |
使用poEdit,按“Ctrl + S”保存就会自动生成相应的 po 文件和 mo 文件。 | |
| |
=== MO文件转换为PO文件 === | |
使用poEdit自带的命令转换。第一步将MO文件移动到poEdit的bin目录下;第二步,打开命令行,先设置当前目录为poEdit的bin目录,再输入命令:msgunfmt xxx.mo > xxx.po 。 | |
{{:Translations_of_bitcomet_010_zh-hans.PNG}} | |
| |