XSLT and gettext?

uche.ogbuji at gmail.com uche.ogbuji at gmail.com
Sat Mar 4 03:00:07 CET 2006


KW wrote:
> I'm looking for a nice way to do i18n with XSLT, preferably using the
> gettext framework. Currently I'm using 4Suite for XSLT processing. Do
> you know of any solutions to this problem?
>
> If no solutions currently exist, I'll try to write something myself. Any
> ideas on how to do this properly? Any existing python code to start with?
>
> I was thinking about wrappingg the text in a new XML tag, say <i18n> and
> processing this to generate an XSL for alle languages, but it will also
> require printf like substitution to do this properly.

4Suite has some friendly gettext-based i18n extensions.  See:

http://copia.ogbuji.net/blog/2005-06-14/i18n_for_X

--
Uche Ogbuji                               Fourthought, Inc.
http://uche.ogbuji.net                    http://fourthought.com
http://copia.ogbuji.net                   http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/




More information about the Python-list mailing list