Po file editing: Difference between revisions

 
(4 intermediate revisions by 2 users not shown)
Line 34: Line 34:
Even though po files are plain text files using an editor designed for po file editing is highly recommended. Most of these tools has advanced features such as format checking, rough translation...
Even though po files are plain text files using an editor designed for po file editing is highly recommended. Most of these tools has advanced features such as format checking, rough translation...


See [http://d-i.alioth.debian.org/i18n-doc/apf.html more about gettext (po) file editors]
# [http://www.poedit.net/ poedit]
# [http://l10n.kde.org/tools/ Lokalize ]
 
==Validation==
 
You can check if there is any obvious mistakes by running the following command
 
msgfmt -c <file.po>
 
You will need [http://www.gnu.org/software/gettext/ GNU gettext] package for this command.
 
Also you can see the details of how many strings translated, how many remains untranslated, how many fuzzy translations are there ... by running the following command
 
msgfmt --statistics <file.po>
 
Check your translations against a glossary if one is available for your language. It would ensure a consistent experience (same translation for each word across applications) to the end user.


==Collaboration==
==Collaboration==