Setup of Jinja Environment

   1 translations = gettext.NullTranslations() # To switch gettext to babel or vice-versa, only change this
   2 self.env.install_gettext_translations(translations)

But it's not working with NullTranslations. I've tried gettext.GNUTranslations instead of NullTranslations but didn't worked. NullTranslations didn't give any error, but the translation it's not working.

{{ gettext('Search') }} 

give me "Search" instead of "Procurar".

I18N Architecture

Current architecture is defined in i18n. Maybe we have to rewrite this from scratch.

I started to read Babel documentation, but tomorrow i'm gonna deep to compare infrastructures.

MoinMoin: DiogenesAugusto/GSoC2010/I18N (last edited 2010-06-14 02:58:23 by DiogenesAugusto)