← Back to team overview

openerp-india team mailing list archive

[Bug 1125264] [NEW] [7.0] Translation synchronize terms ignore translations from code

 

Public bug reported:

Hi,

I just write a new module, and I tried to translate it, but some terms were missing. 
So I use the "Synchronize terms" and "Export translation" to generate new PO files, but they were still missing.
I looked in the translated terms (in the database), but the were not there.

The missing terms went from Python code (with tools.translate_("text") function).
Maybe it's because I have my personnal modules in an external folder, linked to OpenERP by setting the addons_path in the config file.

So, I had to manually edit the PO file and add the location of the
source code in the comment. Then I update my module and now it's ok.

Could'd you please check the synchronize function to find terms from
python code in a different folder that addons?

Thanks

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1125264

Title:
  [7.0] Translation synchronize terms ignore translations from code

Status in OpenERP Server:
  New

Bug description:
  Hi,

  I just write a new module, and I tried to translate it, but some terms were missing. 
  So I use the "Synchronize terms" and "Export translation" to generate new PO files, but they were still missing.
  I looked in the translated terms (in the database), but the were not there.

  The missing terms went from Python code (with tools.translate_("text") function).
  Maybe it's because I have my personnal modules in an external folder, linked to OpenERP by setting the addons_path in the config file.

  So, I had to manually edit the PO file and add the location of the
  source code in the comment. Then I update my module and now it's ok.

  Could'd you please check the synchronize function to find terms from
  python code in a different folder that addons?

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1125264/+subscriptions


Follow ups

References