I've made a few changes to the i18n package:
1. I've decided to dump all those XML files and replace them with
Python modules. For example, the formatting settings for Danish are now
in turbogears/i18n/data/da.py instead of turbogears/i18n/da.xml.
Basically I generated the Python modules from the data in the XML
files. This should be a lot more efficient.
2. There's a new function in turbogears.i18n.utils,
google_translate(from_lang, to_lang, text). It basically queries the
Google Translation Service page and screen-scrapes the text to give you
a translation. For example:
<h2>${google_translate("en", "es", "Are you ready to Gear Up?")}</h2>
will return you a Spanish translation. At present the service supports
translation to and from English, Spanish, Italian, German, Chinese,
Japanese, Portuguese and Korean.
3. There are some new number handling functions for handling large
numbers and parsing number strings.
In the meantime, ¿Es usted listo engranar para arriba?