Hi !

  When my app is run under Paster i18n works fine. After i switch to
production environ (based on Apache with mod_wsgi) my Pylons messages
translated inside my app works fine but for example (my lang directive
in *.ini is set to "pl") FormEncode messages is not translate.
  What I should to do ?
1) Copy all pl/FormEncode.po file to my application pl/myapp.po file ?
2) Add:

lang = config['lang']
formencode.api.set_stdtranslation(domain="FormEncode", languages=
[lang])

to:
a) lib/base.py
b) apache2/production.wsgi
c) model/form.py

Or anything else. Witch solutions is Pylons solution ?

Greetings from Poland !
--
Jan Koprowski
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to