[Top][All Lists]

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

Re: [Maposmatic-dev] Document mo file generation from the po files in IN

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

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

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

So make it this:

commit 17ef46089138996acecac323dfca8d26ce7d99a0
Author: Florian Lohoff <address@hidden>
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
@@ -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/; done
+    to create the necessary mo files from the po file translations
 12. Run OCitySMap
     ./ -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]