Re: i18n and l10n

"Henrik Motakef" <[email protected]> Fri, 9 Jan 2004 12:42:54 +0100
Newsgroups gmane.lisp.clump
Organization http://freemail.web.de/
Message-ID <[email protected]>
> does anyone have any thoughts or suggestions regarding the i18n of
> common lisp apps. in particular i'm wondering about the problems
> related to the proper formatting and parsing of dates/times, monetary
> values and the translation of text based on the client's (or the
> client's browser's) locale. has anybody already "solved" this issue
> or is this one those "figure it out then get back to us" things?

The GNU xgettext program, if properly configured, can extract translatable strings from Lisp sources, so that you can use the "standard" tools from the gettext suite to create the binary message catalogs containing translated strings. Using these message catalogs to actually display the translations from Lisp is not all that hard, their file format is documented in the gettext info manual (except the hashing algorithm for faster message lookup, but there are other ways to look them up). I have some crude, unfinished code for that somewhere, I guess I could as well try to bring it into a shape worth releasing (but don't hold your breath). It doesn't deal with date/number/currency formatting or other locale-related stuff, however.
______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php