Openerp web 5.0.6中文页面翻译文件怎么使用?
-
从 launchpad 取到 _openobject-web-client-zh_CN.po,找了半天资料,也没有看到如何使用的内容。
-
替换文件后,出现如下的错误,还在查找解决方法。
python openerp-web.py
Traceback (most recent call last):
File "openerp-web.py", line 15, in <module>
start()
File "F:OpenERP5.0openerp-client-web-trunkopenerpcommands.py", line 130, i
n start
setup_server(opt.config)
File "F:OpenERP5.0openerp-client-web-trunkopenerpcommands.py", line 101, i
n setup_server
from openerp.controllers.root import Root
File "F:OpenERP5.0openerp-client-web-trunkopenerpcontrollers__init__.py",
line 22, in <module>
import database
File "F:OpenERP5.0openerp-client-web-trunkopenerpcontrollersdatabase.py",
line 87, in <module>
class FormDrop(DBForm):
File "F:OpenERP5.0openerp-client-web-trunkopenerpcontrollersdatabase.py",
line 92, in FormDrop
form_attrs = {'onsubmit': 'return window.confirm("%s")' % _("Do you really w
ant to drop the selected database?")}
File "F:OpenERP5.0openerp-client-web-trunkopenerpi18n_gettext.py", line 9
1, in str
return str(self.eval())
UnicodeEncodeError: 'ascii' codec can't encode character u'xe9' in position 46:
ordinal not in range(128) -
已经搞定了。