maposmatic-dev
[Top][All Lists]
Advanced

[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: Jeroen van Rijn
Subject: Re: [Maposmatic-dev] Document mo file generation from the po files in INSTALL
Date: Wed, 9 Oct 2013 19:58:09 +0200

On Wed, Oct 9, 2013 at 7:54 PM, Florian Lohoff <address@hidden> wrote:
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
--- 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
+


Looks good to me. Hopefully one of the core team will pick this up soonish and integrate it. Thanks for the patch.

Regards,
Jeroen 

reply via email to

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