Hello all!
pgserver and cli_c both support internationalization now. The client library recieves 
important messages from the server. The extra messages for the client and server have 
been included in the server's error message system. English error messages are 
compiled in by default, but this can be disabled to save space. (Numeric error codes 
will be displayed if no table is loaded) Error tables can be loaded with pgserver's 
'-e' command line option. The file format is described below...

Every message line starts with optional whitespace, an error number, more whitespace, 
then the rest of the line is the message itself. A few escape codes like \n, \\, and 
\t are supported within the message. If the line does not start with an error number 
(after the optional whitespace) the line is ignored.
You can look up the error code numbers in the defaulttext.inc file.
Here is an example internationalization file:

------8<------
This line is ignored

16    General Protection Fault!
 14   Checkski!
24 PicoGUI\nError
------8<------

--
To the systems programmer, users and applications serve only to provide a 
test load.


_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to