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

From Dennis Bjorklund
Subject Re: Potential to_char localization bug
Date
Msg-id 456B4877.2010509@zigo.dhs.org
Whole thread Raw
In response to Re: Potential to_char localization bug  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian skrev:

>> 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?

That May is the same word in english both as a full name and a short 
name. Both used _("May") and thus both the short name and full name has 
to be translated into the same word in other languages as well.

/Dennis


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Potential to_char localization bug
Next
From: Bruce Momjian
Date:
Subject: Re: Potential to_char localization bug