RE: [HACKERS] error messages not only English - Mailing list pgsql-hackers

From Peter Mount
Subject RE: [HACKERS] error messages not only English
Date
Msg-id 714F8949628ED1119E0F0060082C52F50D7220@vesta.maidstone.gov.uk
Whole thread Raw
List pgsql-hackers
That sounds like a good idea.

How about having them stored in a new system table (say pg_errormsg) which
contains each possible error in all the supported languages. That way, you
can have multiple language support when users from different countries use
the same server?

I have done (in other projects), multiple language support in Java, and it's
quite simple to implement.

--
Peter T Mount, peter@maidstone.gov.uk, peter@retep.org.uk
JDBC FAQ: http://www.retep.org.uk/postgres
Please note that this is from my works email. If you reply, please cc my
home address.

-----Original Message-----
From: owner-pgsql-hackers@hub.org [mailto:owner-pgsql-hackers@hub.org]On
Behalf Of Jose' Soares Da Silva
Sent: Friday, May 22, 1998 10:59 AM
To: hackers postgres
Cc: general postgres
Subject: [HACKERS] error messages not only English


Hi all,

I see that PostgreSQL mainly gives error messages in English, I see also
that
in some cases there's the possibility to configure it to give messages in
other languages like global.c that may be configured to give messages in
German.
MySQL gives the possibility to configure it using an external file
containing
the messages by specifying it using the parameter LANGUAGE=<language>
where <language> is one of the following:

               czech
               english
               french
               germany
               italian
               norwegian
               norwegian-ny
               polish
               portuguese
               spanish
               swedish

It will be great if we could have also this feature on PostreSQL.
I'm available to help on translation to Portuguese, Spanish and Italian.
                                                        Jose'


pgsql-hackers by date:

Previous
From: "Jose' Soares Da Silva"
Date:
Subject: error messages not only English
Next
From: Andreas Zeugswetter
Date:
Subject: Re: [HACKERS] Re: [DOCS] Re: FE/BE protocol revision patch