Re: [TurboGears] Re: FormEncode i18n translation integration in TurboGears

Gregor Horvath <gh-LfrpOBifzZo+ytmZ3SK/[email protected]>
Newsgroups gmane.comp.python.formencode,gmane.comp.web.turbogears
Organization Ing. Gregor Horvath, Industrieberatung & Softwareentwicklung
Message-ID <[email protected]>
Hi,

I just commited the i18n changes to formencode to:

http://svn.formencode.org/FormEncode/branches/gettext-enabled/

I created a docs/i18n.txt file.
I also had to change some tests and added a tests/test_18n.py

I added a Validator.use_bultins_gettext to add the possibility to
disable the usage of the __builtins__ gettext function.

Also I added a api.set_stdtranslation function to enable easy switching
of the language for standalone usage.

Would be fine if someone could test this.
Any feedback is much appreciated.

I hope that I can do the patch for TurboGears tomorrow.

--
Greg, Vienna

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.