原始文献 / 论坛帖 / Re: Website and software translations

Re: Website and software translations

Bitcointalk · 2010-07-15 18:37:13 UTC

AuthorSatoshi Nakamoto
TitleRe: Website and software translations
Date2010-07-15 18:37:13 UTC
ForumBitcointalk · 原文

我上传了更新后的 0.3.1 版 bitcoin.po,就附在这条消息里:
http://bitcointalk.org/index.php?topic=151.msg1259#msg1259

如果你要开始一个新的翻译,请用它。

如果你已经有 po 文件,poedit 可以更新它。
- 从开发区发布的 0.3.1 候选版本里拿到 src 目录,任何版本都行:
http://bitcointalk.org/index.php?topic=383.0
- 在 src 下建一个子目录:locale/??/LC_MESSAGES
(?? 可以是任何东西,"en" 或你语言的两字母代码)
- 把你的 .po 文件放进去
- 用 poedit 打开它
- 在 poedit 里,目录 -> 从源更新(Catalog->Update from sources)

关键是:放源文件的 src 目录必须在 .po 文件的上三层目录。

英文原文

I uploaded an updated bitcoin.po for 0.3.1 attached to this message:
http://bitcointalk.org/index.php?topic=151.msg1259#msg1259

please use it if you're starting a new translation.

If you already have a po file, poedit can update it.
- Get the src directory from the 0.3.1 release candidate posted in the development forum, any version will do:
http://bitcointalk.org/index.php?topic=383.0
- Make a subdirectory under src: locale/??/LC_MESSAGES
(?? could be anything really, "en" or your language 2-letter code)
- Put your .po file there
- Open it with poedit
- In poedit, Catalog->Update from sources

The key is that the src directory with the sourcefiles needs to be 3 directories up from the .po file.