使用POEdit转换PO文件格式到MO文件格式

Posted by eDWARD at 10:09

   一直使用gregarius这个聚合工具,但是它的升级速度实在有够慢的,版本号一直锁定在0.5.5上,由于现有版本的一些问题我决定升级到最新的SVN版本。Gregarius支持中文,并且使用MO作为全球化语言文件的格式,但因为我需要在界面中增加博客摄影的链接文字,所以需要修改Gregarius自带的PO语言源文件并且编译成MO语言文件格式。

   POEdit是一款支持多操作系统的PO文件转换软件,大家可以在这里下载,Windows环境下直接读取PO文件再保存就可以编译生成MO文件。另外如果自带的程序中只有MO文件,那么大家可以使用Gettext来反编译MO文件,使用方法也很简单:msgunfmt a.mo -o b.po,就可以生成PO文件了,很简单很方便:)

Filed In 学习路上 | Study | Tags: , , , | 6 Comments »

Your Comments.

Leave your own response

6 Responses to “使用POEdit转换PO文件格式到MO文件格式”

Leave a Reply.

Comment Form.

Fields denoted with a "*" are required. Your comment may require moderation, please be patient.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>




Your Reply.

Use the following link to trackback from your own site:
http://www.zhangzhang.net/2008/03/po-to-mo/trackback/

Spread the word.

Octopus supports RSS feed for this post RSS 2.0 , and Trackbacks from other blogs.


Fatal error: Call to undefined function get_single_sidebar() in /home/zhangzha/public_html/wp-content/themes/octopus/single.php on line 69