Karel Zak writes: > > > For transaltion to other languages I not sure with gettext() stuff on > > > backend -- IMHO better (faster) solution will postgres system catalog > > > with it. > > > > elog(ERROR, "cannot open message catalog table"); > > Sure, and what: > > elog(ERROR, gettext("can't set LC_MESSAGES")); > > We can generate our system catalog for this by simular way as gettext, it's > means all messages can be in sources in English too. When there is an error condition in the backend, the last thing you want to do (and are allowed to do) is accessing tables. Also keep in mind that we want to internationalize other parts of the system as well, such as pg_dump and psql. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]
- [HACKERS] Internationalized error messages Peter Eisentraut
- Re: [HACKERS] Internationalized error messages Ian Lance Taylor
- Re: [HACKERS] Internationalized error messages Denis Perchine
- Re: [HACKERS] Internationalized error messages Nathan Myers
- Re: [HACKERS] Internationalized error messages Tom Lane
- Re: [HACKERS] Internationalized error messag... Nathan Myers
- Re: [HACKERS] Internationalized error messag... Karel Zak
- Re: [HACKERS] Internationalized error me... Tatsuo Ishii
- Re: [HACKERS] Internationalized error me... Peter Eisentraut
- Re: [HACKERS] Internationalized err... Karel Zak
- Re: [HACKERS] Internationalized... Peter Eisentraut
- Re: [HACKERS] International... Karel Zak
- Re: [HACKERS] Internationalized error messag... Peter Eisentraut
- Re: [HACKERS] Internationalized error me... Tom Lane
- Re: [HACKERS] Internationalized err... Peter Eisentraut
- Re: [HACKERS] Internationalized... Tom Lane
- Re: [HACKERS] International... Andrew Evans
- Re: [HACKERS] International... Nathan Myers
- Re: [HACKERS] International... Peter Eisentraut
- Re: [HACKERS] International... Tom Lane
- Re: [HACKERS] International... Patrick Welche