From: Christian Biesinger (email@example.com)
Date: Tue Apr 30 2002 - 02:56:45 EDT
On Tue, Apr 30, 2002 at 04:35:51AM +0100, Andrew Dunbar wrote:
> --- Karl Ove Hufthammer <firstname.lastname@example.org> wrote: >
> Dom Lachowicz <email@example.com> wrote in
> > Some strings probably *need* to be duplicated. I'm
> > thinking of
> > strings which are identical in English, but not in
> > the target
> > language. [...]
> I was always suspicious that gettext did this. Is
> there a way around it?
Well... you can use "Forward1" or whatever as the english string and
provide an english .po file as well... but that's a bit of a hack.
> Also we need to fix the
> problem where multiple %s need to be in a different
> order between English and the localized language.
> Will gettext help with this?
Sure. (Though this might actually be a feature of printf).
Just use "foo %2$s bar %1$s" as the msgstr.
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin
This archive was generated by hypermail 2.1.4 : Tue Apr 30 2002 - 02:59:16 EDT