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

From Dennis Bjorklund
Subject Re: Potential to_char localization bug
Date
Msg-id 456B40CF.6030503@zigo.dhs.org
Whole thread Raw
In response to Potential to_char localization bug  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Potential to_char localization bug  (Bruce Momjian <bruce@momjian.us>)
Re: Potential to_char localization bug  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
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.

/Dennis


pgsql-hackers by date:

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