From Fedora Project Wiki
fp-wiki>ImportUser (Imported from MoinMoin) |
m (1 revision(s)) |
||
(No difference)
|
Latest revision as of 16:36, 24 May 2008
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.