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

Re: po files in webwml



On Fri, Dec 13, 2002 at 10:13:01PM +0900, Tomohiro KUBOTA wrote:
> Hi,
> 
> I am translating webwml into Japanese.  I have one question in
> translating gettext (po) messages in webwml.
> 
> Some of msgid's have expressions like "%s".  Some of them have
> multiple such variables.
> 
> Can I use expressions like "%2$s" and "%1$s" in msgstr's to
> exchange the order of such multiple "%s" variables, which is
> available in normal gettext?

It depends on how it is used.  In english/doc/manuals.defs, it
appears inside a printf Perl command, which does not handle this
argument switching, so answer is 'No'.  You have to replace %s by
ordinary text (or variables) in manuals.defs.

Denis



Reply to: