[Moin-devel] Re: Patch for l10n of notification

Juergen Hermann jh at web.de
Thu Mar 14 06:00:09 EST 2002


On Thu, 14 Mar 2002 11:51:28 +0100, Lele Gaifax wrote:

[Also added moin-devel, please use the mailing list]

>a) I missed the proper way to extract the _('') strings to put in the
>   master set of messages. Is there an automatic tool? I saw the
>   _sync.py and _check.py...

synch copies from the master set (de.py by default) to all other 
languages. check checks for untranslated msgs. the master is extended 
automatically when config.check_i18n is true.

Read i18n/__init__.py for details.

>b) If exists, maybe it would be nice to change it a little to emit
>   also the location in the sources where each message is used: this
>   makes it easier for the translators to find an appropriate national
>   idiom when "the context matter"...

Using gettext.py gives you that for free, and using gettext.py is just 
a developer time problem.



Ciao, Jürgen

--
Jürgen Hermann, Developer (jhe at webde-ag.de)
WEB.DE AG, http://webde-ag.de/






More information about the Moin-devel mailing list