-
Notifications
You must be signed in to change notification settings - Fork 104
How to handle po and pot files
Daniel Niccoli edited this page Jan 4, 2014
·
1 revision
Usually the template file gets generates while compiling. But you can also generate it without compiling the server. Take care of the directories you are in while executing the commands.
/usr/local/src/webserver# ./autogen.sh
/usr/local/src/webserver/po/admin# make update-po
If you are a translator, here is how you keep your translation file (.po) up to date with current development. Obsolete entries are converted to comments. Take care of the directories you are in while executing the commands.
/usr/local/src/webserver/po/admin# msgmerge _--sort-by-file_ --update de.po cherokee.pot
The default english translation needs to be updated automatically. Here is how you do it manually.
/usr/local/src/webserver/po/admin# msgen --output-file en.po _--sort-by-file_ cherokee.pot
/usr/local/src/webserver/po/admin# msgattrib --no-obsolete de.po > clean_de.po