Thread: Now that I have --enabled-nls...

Now that I have --enabled-nls...

From
Francois Suter
Date:
Hi all,

Now that I have an installation of PostgreSQL on Mac OS X 10.3.2 with
national language support, I'm trying to get it to display in some
other language, of course. Although my interest is in the French
translation, I tried it out with German first, since it is much more
complete.

If I read the manual correctly, all I have to do is set the lc_message
parameter to "de_DE" in postgresql.conf and SIGHUP the postmaster. Is
that correct? Are there other settings?

I am asking because - as you can guess - psql still displays in
English, which leaves me wondering whether I am doing something wrong
or if this is yet another quirk of localization on Mac OS X...

TIA.

---------------
Francois

Home page: http://www.monpetitcoin.com/

"Would Descartes have programmed in Pascal?" - Umberto Eco


Re: Now that I have --enabled-nls...

From
Tom Lane
Date:
Francois Suter <dba@paragraf.ch> writes:
> If I read the manual correctly, all I have to do is set the lc_message
> parameter to "de_DE" in postgresql.conf and SIGHUP the postmaster. Is
> that correct? Are there other settings?

I think that's the only setting, but I've never used the facility myself.

> I am asking because - as you can guess - psql still displays in
> English, which leaves me wondering whether I am doing something wrong
> or if this is yet another quirk of localization on Mac OS X...

One question that comes to mind is whether you installed the translated
message catalogs where the system will expect to find them.  (I dunno
where that is, even.  I'm just guessing that it might not get done as
part of the basic "make install" process.)

Peter would know more ...

            regards, tom lane