|
From: | Jeroen van Rijn |
Subject: | Re: [Maposmatic-dev] Document mo file generation from the po files in INSTALL |
Date: | Wed, 9 Oct 2013 19:49:25 +0200 |
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 <address@hidden>
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 address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIVAwUBUlWWPpDdQSDLCfIvAQgX8A//S8hb3vxsLux8uMns1ZiDR/W6J8RW86tv
scU105x7R9tHhYrVYWUCtHk708EqU+eSAW/QdwQKa1FZo22gkjqkAIDDuDWqu4t7
vzCIDnUTtxrO91Mn9UwJlUdpkxFXB4xZwVmGLeI2M9gSHHNuDhxd3H2+TfEwUWPw
3fA3+j9cd+iaeEmhwqf5popOxqvTmE6zE/fI1BWw7S3GujfCFhdNT86DTutPapt7
v+xU/wSM4ADnIgiPgFHRUFZcau/InyQ/XkW7OcYr+sAMbFaa7x/canfaLoo8XM2k
WtBcIA8L6oFtweKjbkT6yN2ThoUv52xyr5vOKJAkxklyPCePMGONMsMTzVaPgypW
gsk1qoO4La/TIr+GaXoNPlM/8RHC8ZgTqO4oR4T8LK5dhQ5lLEuhxk0taldUTfDA
4Sv1hOzI+x7IYi0q28F0ylVtpj+4yBFCVRIgcQDmTWr+3u2zriUyYjnhiRVBPko2
eGt/752dWi+cXjnV+T7YlGoKMXrkH/V8jCpG3oKx1IYSvxoEOEW5N7LmMqXR2nKG
w6DMOkvBT27z6iKAJxDg0cYr37ycn6au6Aw5rEoKDzYvbImhz5sr5HQNVGZIkm57
QjkN69qCS7UXF22eKJnjOyuKkSKIuHS7eZylZJo0ECb1/oNcczOFlItEuIMWSFlo
w4y7wbM4cSs=
=EjkE
-----END PGP SIGNATURE-----
[Prev in Thread] | Current Thread | [Next in Thread] |