Re: Potential to_char localization bug

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Potential to_char localization bug
Date: 2006-11-27 19:56:35
Message-ID: 200611271956.kARJuZD02998@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-11-27 19:57:45 Re: Day and month name localization uses wrong
Previous Message Tom Lane 2006-11-27 19:55:20 Re: Day and month name localization uses wrong