Re: Fully enabling NLS in pg_ctl - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Fully enabling NLS in pg_ctl
Date
Msg-id 200406101928.46453.peter_e@gmx.net
Whole thread Raw
In response to Re: Fully enabling NLS in pg_ctl  ("Serguei A. Mokhov" <mokhov@cs.concordia.ca>)
List pgsql-patches
Serguei A. Mokhov wrote:
> On Mon, 31 May 2004, Bruce Momjian wrote:
> > Date: Mon, 31 May 2004 23:31:42 -0400 (EDT)
> >
> > I have added the setting of local calls to the top of pg_ctl.c.  I
> > did not localize ".", nor:
> >
> >             printf("%s (PostgreSQL) %s\n", progname, PG_VERSION);
> >
> > This does not change based on locale, and none of our other
> > applications adjust this for locale.
>
> Maybe not the printf() above, but the "." is different in Chinese ;-)
> (I'm not arguing for these changes).

You're right.  Even things like parentheses and colons require
translation in general.  But the version string never changes as a
matter of principle, so that it is machine-readable.


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: translation updates pt_BR
Next
From: Peter Eisentraut
Date:
Subject: Re: Fully enabling NLS in pg_ctl