On Sun, 15 Jan 2006 10:40:19 -0600, Perry Smith wrote:

> From Andreas's reply, it may not.  In AIX, they want the message to  
>come out in the user's native language so they print out the  
>translated message (that comes from a separate file).

It's the same with gettext. You have a file containing key and value
(i.e. original text and it's translation) for each language, normally
residing under /usr/share/locale/<languge>/LC_MESSAGE/<package name>.mo
. Now in order to retrieve the localized message, the library will
search for a translation matching the message in the program by
searching the relevant message catalog for the current locale.

Philipp

Reply via email to