注意
Since F12, the composed live image has been available to download for reviewing and correcting software translation in User Interface. This live image is composed around a week before Fedora XX Software Translation Deadline and made available by Deadline date. This image should include all latest translation submitted at this point.
作为软件的一部分,需要校正你的翻译,按照这些步骤做:
转到你想校正的包所在的文件夹。例如,
cd ~/myproject/system-config-printer/
用带-o
选项的msgfmt
命令将.po
文件转为一个.mo
文件:
msgfmt -o system-config-printer.mo ja
.po
以root用户覆盖/usr/share/locale/lang
/LC_MESSAGES/
目录下的已存在的.mo
文件.
首先,备份现存的文件:
su -
cp /usr/share/locale/ja
/LC_MESSAGES/system-config-printer
.mo system-config-printer
.mo-backup
现在移动准备校对的文件
mv system-config-printer
.mo /usr/share/locale/ja
/LC_MESSAGES/
退出root用户。
exit
用应用程序中翻译过的字串来校正包的翻译:
LANG=ja_JP.UTF-8
system-config-printer
与翻译的包相关的应用程序会带着翻译的字符一起运行