Re: Fully enabling NLS in pg_ctl

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Serguei A(dot) Mokhov" <mokhov(at)cs(dot)concordia(dot)ca>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fully enabling NLS in pg_ctl
Date: 2004-06-10 17:28:46
Message-ID: 200406101928.46453.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-06-10 17:29:51 Re: Fully enabling NLS in pg_ctl
Previous Message Peter Eisentraut 2004-06-10 17:23:46 Re: translation updates pt_BR