This is the third time I asked the same question, I really appreciate some body could come up with a solution. I'm trying to change the language of the error message ,
formencode.api.set_stdtranslation(languages=["zh_CN"]) then I get, ........ File "/home/systemadmin/12bfg/lib/python2.5/site-packages/Chameleon-1.0.8-py2.5.egg/chameleon/core/template.py", line 184, in cook_and_render return func(econtext, rcontext) File "<string>", line 234, in render File "<string>", line 111, in _callback_innerContent UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128) It worked without problem with other language such as "de". Is it a problem of chameleon.zpt? _______________________________________________ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev