bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Using gettext for arbitrary file format


From: Jean-Marc Lasgouttes
Subject: Re: Using gettext for arbitrary file format
Date: 24 Jul 2002 15:20:17 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Bruno" == Bruno Haible <address@hidden> writes:

Bruno> You could achieve better results by creating a file
Bruno> ext_l10n.pot instead of ext_l10n.h, using similar regexps, and
Bruno> then combine this pot file with the other one using 'msgcat'.
Bruno> Similar to what is described in the gettext manual, node
Bruno> "Maintainers for other Languages".

Yes, that's what I thought while reading the documentation.

>> Is there some way in xgettext to handle arbitrary formats? I would
>> think that it could be possible to describe by a regexp (like we do
>> in our ugly sed scripts) the syntax (usually simple) that we want
>> to capture.

Bruno> xgettext doesn't handle "arbitrary" formats. But for your
Bruno> particular format you can easily create a converter to pot.

Do you see reasons why a kind of regexp-based format would not work?
Or is it too difficult to get right?

Thanks for your prompt answer

JMarc



reply via email to

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