Hi, this is my way how i generated the mo files from the po files. There might be a simpler way - just document it in the INSTALL file.
Took me a while to find this. commit 17281de7c5586cd420e19f2400ab7dd26f69142a Author: Florian Lohoff <f...@zz.de> Date: Wed Oct 9 17:42:29 2013 +0000 Add mo file generation from the po files to INSTALL diff --git a/INSTALL b/INSTALL index 237e436..8802714 100644 --- a/INSTALL +++ b/INSTALL @@ -266,6 +266,18 @@ are using. They have been tested on several x86_64 hosts. Create a ~/.ocitysmap.conf configuration file, modeled after the provided ocitysmap.conf.dist file. + e. Create mo files from po files + + Install the package + + sudo aptitude install gettext + + and then run the following command in the ocitysmap folder + + for i in locale/*/LC_MESSAGES; do ( cd $i ; msgfmt ocitysmap.po ; mv messages.mo ocitysmap.mo ); done + + to create the necessary mo files from the po file translations + 12. Run OCitySMap ./render.py -t "Ceci n'est pas Paris" --osmid=-411354 # Contern, LU -- Florian Lohoff f...@zz.de
signature.asc
Description: Digital signature