← Back to team overview

credativ team mailing list archive

[Bug 885134] Re: Load translation of zip-file

 

Thanks for the bug report, the fix is available in trunk:
revno: 3934
revision-id: vmt@xxxxxxxxxxx-20120104103212-qq2ad04b1ffydrur

** Changed in: openobject-server
       Status: Fix Committed => Fix Released

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

Title:
  Load translation of zip-file

Status in OpenERP Server:
  Fix Released

Bug description:
  If you import a module as zip file and install it, then the translations in the i18n folder are not considered.
  The Bug is in function 'trans_load' of tools/translate.py since it cannot open the passed filename.
  It is assumed that the module is not a zip-file.

  Reproduce:
  - Import a module with existing i18n-folder as ZIP-File
  - Update/Install module
  - Look at translation terms -> they are not updated

  Expected Result:
  - translation terms are updated/created

  Platform:
  Ubuntu 10.04, openerp-server 6.0.1

  If the same module without ZIP is moved to the addons folder, then everything is fine.
  The error is only if you put a ZIP-module into the addons-folder

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