	Anyone knows right install location and name for language .mo files ?

	I created new .po file, configure and make was OK.
Translation is also checked as explained on PostgreSQL site.
When I install, .mo file is copied to:
/usr/local/pgsql/share/locale/hr_HR/LC_MESSAGES/postgres.mo (RedHat).
	In postgresql.conf is already line that looks like this:
LC_MESSAGES = 'hr_HR'.

So why I do not see the translated messages ?
Can I set some sort of debbug level to see which lang is postgres actually 
using ?

I am ready to contribute this translation file (it is for Croatian language). 
More than 60% of file is translated, but I will work some more on it.

Regards !

Mon, 25 Nov 2002 09:43:25 +0000
Darko Prenosil <darko.prenosil@finteh.hr>
Location of language .mo files or
	=?iso-8859-2?q?'Za=B9to=20postgres=20ne=20govori=20Hrvatski'?= ???
Zdravo,

Darko Prenosil writes:

> When I install, .mo file is copied to:
> /usr/local/pgsql/share/locale/hr_HR/LC_MESSAGES/postgres.mo (RedHat).
> 	In postgresql.conf is already line that looks like this:
> LC_MESSAGES = 'hr_HR'.
>
> So why I do not see the translated messages ?

Hard to tell.  Try making a PO file for a frontend application (such as
psql or pg_dump), set the environment variables, and then see what
happens.  Possibly, there are less disturbing factors involved that way
than on the server side.

-- 
Peter Eisentraut   peter_e@gmx.net


Tue, 26 Nov 2002 19:42:42 +0100 (CET)
Peter Eisentraut <peter_e@gmx.net>
Re: [HACKERS] Location of language .mo files or
On Tuesday 26 November 2002 18:42, Peter Eisentraut wrote:
> Zdravo,
>
> Darko Prenosil writes:
> > When I install, .mo file is copied to:
> > /usr/local/pgsql/share/locale/hr_HR/LC_MESSAGES/postgres.mo (RedHat).
> > 	In postgresql.conf is already line that looks like this:
> > LC_MESSAGES = 'hr_HR'.
> >
> > So why I do not see the translated messages ?
>
> Hard to tell.  Try making a PO file for a frontend application (such as
> psql or pg_dump), set the environment variables, and then see what
> happens.  Possibly, there are less disturbing factors involved that way
> than on the server side.

	I find out what was wrong. I did not "make clean", and postgres backend was 
already compiled and linked without --enable-nls. So make only maked my 
hr_HR.mo, but did not recompiled the backend.  After "make clean" and "make 
install" evetithing is working just fine.
Thank You anyway for Your effort !!!

Zdravo i tebi !



Tue, 26 Nov 2002 20:26:40 +0000
Darko Prenosil <darko.prenosil@finteh.hr>
Re: Location of language .mo files or
	=?iso-8859-2?q?'Za=B9to=20postgres=20ne=20govori=20Hrvatski'?= ???