maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] Document mo file generation from the po files in INSTAL


From: Florian Lohoff
Subject: [Maposmatic-dev] Document mo file generation from the po files in INSTALL
Date: Wed, 9 Oct 2013 19:45:35 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]