On 10/6/05, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote:
> Does anyone know of any frameworks to provide i18n for Scheme
> programs?
>
> I'm basically concerned with Chicken programs.  I'm looking for
> something similar to GNU gettext, that will make it possible for my
> Scheme programs to print their strings in multiple languages (without
> having to keep separate branches for each language, obviously).
>
> Perhaps a simple GNU gettext wrapper egg can do the work?  Hmm.  Any
> thoughts?
>

Doing this on the C-level (I don't know much about gettext, so this must
be taken with a grain of salt) is probably not the right way, there are
many strings that you probably don't want to translate, like symbol
print-names.

The only internationalization system I have used is the one in Qt and
something similar shouldn't be too hard. For example, a macro
(or some read-syntax) could expand into a table-lookup.
Alternatively, one could extend the compiler to transform string-literals
directly.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to