From Fedora Project Wiki

Revision as of 16:36, 24 May 2008 by Ravidiip (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Internationalizing your TurboGears Application using Genshi Templates

Most of the material was taken from here: Genshi Internationalization with Babel

Notes

If you do everything here to the letter, you will have few problems. Some notes:

  • Use the directory structure that is recommended there (/locales) because it is hardcoded in Turbogears
  • I had some problems extracting strings containing special characters such as the backslash / or angle brackets < >.
  • Do not update your catalogs if you get errors during extraction time.
  • I repeat, do not update your catalogs if you get errors during extraction time. You will lose your translations.
  • Using tg-admin i18n may or may not work. I did not test it.