Bitcoin 客户端与网站翻译

中本聪SN-0277

单一二进制加多个 .mo 文件容易得多。维护一大堆构建变体太费事。软件支持一旦实现,任何人都能贡献翻译。

It's much easier to have a single binary and multiple .mo files. It's too much maintenance work to have lots of build variations. Once the software support is implemented, anyone could contribute translations.

wxWidgets 用的是 gettext 标准。用 gettext 工具或 poedit 之类,扫描源文件提取字符串生成 .po 文件,把译文填进去,再编译成 .mo 文件。程序在运行时加载 .mo 文件,将所有界面字符串替换为相应译文。给现有程序加语言只需加 .mo 文件,无需重新编译。

wxWidgets uses the gettext standard. You use the gettext tools or something like poedit to create a .po file by scanning the sourcefiles for strings and editing the translations into the .po file, then compile it into a .mo file. The program loads the .mo file at runtime and reskins all the strings. Additional languages can be added to an existing program by adding .mo files without recompiling the program.

在 Windows 上,.mo 文件放在 EXE 所在目录的 lang 子目录里。

On Windows, the .mo files would go in a lang subdirectory in the directory where the EXE is located.

现在我在做 JSON-RPC 和命令行支持,完成后希望接下来就做这个。

Right now I'm working on JSON-RPC and command line support, but when I'm finished with that I hope to do this next.

译文校对、修订与纠错

当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。

查看历史审校与代表修订 →

译文内容版本:f1c88c4289ee。用于比对文本,不代表校对等级或更新时间。

准备纠错说明

请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。

来源
英文原标题

Bitcoin client and website translation

Bitcointalk · 原始链接 ↗ 记录编号 SN-0277

阅读字号

选择适合你的字号,之后阅读会继续使用。