On Wed, Oct 09, 2013 at 07:49:25PM +0200, Jeroen van Rijn wrote:
> Hi Florian,
> 
> Good thinking in documenting this.
> Perhaps it can be simplified further by using msgfmt's -o/--output-file
> option to directly write ocitysmap.mo?

grmpf - i looked at the manpages 20 Times now but overlooked that :)

So make it this:

commit 17ef46089138996acecac323dfca8d26ce7d99a0
Author: Florian Lohoff <f...@zz.de>
Date:   Wed Oct 9 17:52:13 2013 +0000

    Add mo file generation from the po files to INSTALL

diff --git a/INSTALL b/INSTALL
index 237e436..6b213ee 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 msgfmt $i/ocitysmap.po -o 
$i/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

Attachment: signature.asc
Description: Digital signature

Reply via email to