Re: xgettext and parameter reordering

[email protected] (Guido Flohr) Mon, 06 Oct 2003 15:33:25 +0200
Newsgroups perl.i18n
Message-ID <[email protected]>
Hi again,

Rich wrote:
> Christophe Chisogne wrote:
>=20
>=20
>>Short question: how can I use standard GNU xgettext for i18n
>>when using printf parameter reordering ?
>>
>=20
>=20
> Hi Christophe=20
>=20
> Try using xgettext.pl instead, which is part of Locale::Maketext::Lexic=
on.

I don't think that this is an option because xgettext.pl will also=20
double the backslash in the original string (like "xgettext --lang=3DC"=20
which doesn't know that a dollar sign has to be escaped in double-quoted =

Perl strings).

BTW: The new "xgettext --lang=3Dperl" will extract *all* kinds of strings=
=20
including single-quoted strings or the q operator, no need to=20
backslashify the $ at all, then.

Ciao

Guido
--=20
Imperia AG, Development
Leyboldstr. 10 - D-50354 H=FCrth - http://www.imperia.net/