← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791771] Re: web client translation javascript domain update BUG

 

** Branch linked: lp:openobject-client-web/6.0

-- 
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:
  New

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