c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29956
[Bug 791771] Re: web client translation javascript domain update BUG
Hello mrshelly,
I have tested your issue as per your specification but I can't reproduce
it.
In zh_CN.po file translation is already define and why you need to
convert it into str.
Would you please provide us proper steps and screenshot or video so we
can reproduce same at our end.
Thanks and waiting for your reply.
** Changed in: openobject-client-web
Status: New => Incomplete
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/791771
Title:
web client translation javascript domain update BUG
Status in OpenERP Web Client:
Incomplete
Bug description:
web client 6.0.2
the javascript locale update file :http://localhost:8080/openerp/j18n/zh_CN
I get no translate data in this file.
the Server return : "openobject.gettext.update({});"
And I found a bug to return the locale's domain_catalog @file /openobject/i18n/_gettext.py
maybe 35~39 lines
patch:
- if locale in domain_catalog:
+ if str(locale) in domain_catalog:
- return domain_catalog[locale]
+ return domain_catalog[str(locale)]
return domain_catalog[locale.language]
I hope it will be fixed @next release version. Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/791771/+subscriptions
References