maposmatic-dev
[Top][All Lists]
Advanced

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

Re: [Maposmatic-dev] gettext: how to extract messages from html files


From: Thomas Petazzoni
Subject: Re: [Maposmatic-dev] gettext: how to extract messages from html files
Date: Fri, 21 Dec 2012 00:36:41 +0100

Le Thu, 20 Dec 2012 22:39:36 +0100,
Hakan Tandogan <address@hidden> a écrit :

> I can extract translatable strings from the python files just find with 
> "xgettext $(find . -name \*.py)", but doing the same for the html 
> template files in the maposmatic repo does not work. xgettext complains 
> that the language "html" is not known and falls back to "C".
> 
> Could you please give me a hint how you did this until now?

See the README file in MapOSMatic repository, and the I18N file in the
OCitySMap repository. Those have the correct methods to generate
the .po files and update them.

Best regards,

Thomas
-- 
Thomas Petazzoni                http://thomas.enix.org
MapOSMatic                      http://www.maposmatic.org
Logiciels Libres à Toulouse     http://www.toulibre.org
Embedded Linux News             http://www.emlinews.net



reply via email to

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