Re: Potential to_char localization bug - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Potential to_char localization bug
Date
Msg-id 200611271956.kARJuZD02998@momjian.us
Whole thread Raw
In response to Re: Potential to_char localization bug  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: Potential to_char localization bug  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Potential to_char localization bug  (Dennis Bjorklund <db@zigo.dhs.org>)
Re: Potential to_char localization bug  ("Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>)
List pgsql-hackers
Dennis Bjorklund wrote:
> Peter Eisentraut skrev:
> >                 case 4:
> >                         m = _("May");
> >                         break;
> > 
> > 
> > Haven't thought of a fix yet.
> 
> A common way is to use something of the form
> 
>     m = _("S:May") + 2;
> 
> and a comment above (that is copied to the .po file) explaining that the 
> S: should be in the translated string as well.

OK, I am ready to admit I am lost.  What is the problem here?

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Day and month name localization uses wrong
Next
From: Bruce Momjian
Date:
Subject: Re: Day and month name localization uses wrong