PO file editor
●poedit
● gtranslator
● Lokalize
● gted
● Virtaal
● GNU Emacs ( PO mode )
● vi/vim (po.vim)
23.
% make tran
產生article.xml
% make FORMATS=html
% firefox article.html
24.
submit
● 將 Makefile、 article.xml 、 zh_TW.po 加入版
本控制系統:
% svn add Makefile article.xml zh_TW.po
A Makefile
A article.xml
A zh_TW.po
25.
● 設定 svn:keywordsproperty
% svn propset svn:keywords FreeBSD=%H Makefile
article.xml zh_TW.po
property 'svn:keywords' set on 'Makefile'
property 'svn:keywords' set on
'article.xml'
property 'svn:keywords' set on 'zh_TW.po'
26.
●
設定 MIME type、UTF-8character set和 fbsd:notbinary
% svn propset svn:mime-type 'text/x-gettext-translation;
charset=UTF-8' zh_TW.po
property 'svn:mime-type' set on 'zh_TW.po'
% svn propset fbsd:notbinary yes zh_TW.po
property 'fbsd:notbinary' set on 'zh_TW.po'
% svn propset svn:mime-type 'text/xml; charset=UTF-8' article.xml
property 'svn:mime-type' set on 'article.xml'
% svn propset fbsd:notbinary yes article.xml
property 'fbsd:notbinary' set on 'article.xml'