Re: Internationalized error messages - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Internationalized error messages
Date
Msg-id 20010309204226O.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Internationalized error messages  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-hackers
>  For transaltion to other languages I not sure with gettext() stuff on
> backend -- IMHO better (faster) solution will postgres system catalog
> with it.
> 
>  May be add new command too: SET MESSAGE_LANGUAGE TO <xxx>, because
> wanted language not must be always same as locale setting.

In the multibyte enabled environment, that kind of command would not
be necessary except UNICODE and MULE_INTERNAL, since they are
multi-lingual encoding. For them, we might need something like:

SET LANGUAGE_PREFERENCE TO 'Japanese';

For the long term solutuon, this kind of problem should be solved in
the implemetaion of SQL-92/99 i18n features.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: WAL does not recover gracefully from out-of-disk-sp ace
Next
From: Martin Devera
Date:
Subject: Re: WAL & SHM principles