Re: Potential to_char localization bug

From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Potential to_char localization bug
Date: 2006-11-27 19:47:27
Message-ID: 456B40CF.6030503@zigo.dhs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

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