pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martial Elise KIBA <mkiba@delgi.gov.bf>
Cc: pgsql-admin@postgresql.org
Subject: Re: Localisation
Date: Wed, 25 Jul 2007 13:34:12 -0400
Message-ID: <28587.1185384852@sss.pgh.pa.us> (raw)
In-Reply-To: <20070725171632.M46418@mailer.gov.bf>
References: <20070725171632.M46418@mailer.gov.bf>

"Martial Elise KIBA" <mkiba@delgi.gov.bf> writes:
> I have a postgresql sever running on RedHat EL 4.0 Update 2.
> ...
> But postgresql steal respond in english, and TO_CHAR(date, 'Day, DD Month
> YYYY') return a date in english

What PG version is this?  Are you sure it was built with --enable-nls?
("pg_config --configure" is the way to check.)

According to the manual, to_char() only emits localized month names if
you use "TMMonth".  But I'm not sure why you're not seeing localized
messages, if the server was built with the correct options.

			regards, tom lane



view thread (2+ messages)

Message-ID: <28587.1185384852@sss.pgh.pa.us>
Permalink:  ../28587.1185384852@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28587.1185384852@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mkiba@delgi.gov.bf
  Subject: Re: Localisation
  In-Reply-To: <28587.1185384852@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox