Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group