Translating sql error codes
I want that end users see error messages descibed in
Appendix A. PostgreSQL Error Codes
in Estonian.
I can provide translations to those error codes.
How to make Postgres server to return my translated error messages ?
Or is it more reasonable to implement this in my application by displaying
text corresponding to sql error code ? In this case I can translate SQL
error codes returned by ODBC driver also.
Andrus.
"Andrus" <eetasoft@online.ee> writes:
I want that end users see error messages descibed in
Appendix A. PostgreSQL Error Codes
in Estonian.
I can provide translations to those error codes.
How to make Postgres server to return my translated error messages ?
Step right up and become a translator :-). There's some starting
information here:
http://developer.postgresql.org/docs/postgres/nls-translator.html
and most of the work gets done here:
http://pgfoundry.org/projects/pgtranslation/
regards, tom lane