← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 696760] Re: [trunk] strange localization problem

 

Hello,

This problem comes from the fact that some modules create records in the
namespace of the base module, with the consequence that translations are
in 'base' too. And of course when 'base' is initially loaded the target
records do not exist yet, so the translations are skipped, and are
missing when the modules are installed later.

The workaround is indeed to trigger an update of the translations of
'base': either executing the "Synchronize translations" wizard or simply
updating the "base" module should work (don't think you need both).

We need to add a little post-processing after the installation each
module to resolve such "unresolved translations", and will do so asap.

Thank you for the detailed bug report!

** Changed in: openobject-server
   Importance: Undecided => Low

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
    Milestone: None => 6.0-rc2

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
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/696760

Title:
  [trunk] strange localization problem

Status in OpenObject Server:
  Confirmed

Bug description:
  
1) Steps to reproduce the issue you have observed:
Edit bzr_set.py for checkout the trunk.
Checkout OpenERP sources by bzr_set.py

start server as:
cd server
bin/openerp-server.py -c ../../openerp-server.conf

start web server as:
cd web
./openerp-web.py

- Start web brouser and open OpenERP page (localhost:8080)
- Create new database without demo data in RUSSIAN language.
- Install applications according to attached image - 0-install.png

Part of OpenERP terms are untrunslated. It is a bug !
Look at attached image - 1-untranslated_terms.png
I have included the openerp-server.conf in attachment.

I have founded a workaround.

- Update all installed modules by schedule update of base module - 2-schedule_update.png
- and start the updating/upgrading process - 3-upgrade_modules.png
- logout and login
Now all terms are translated - 4-workaround.png

4) The platform your are using

server revision:
------------------------------------------------------------
revno: 4164
tags: openerp-buildfail-1-4893
committer: qdp-launchpad@xxxxxxxxxxx
branch nick: trunk
timestamp: Mon 2011-01-03 09:47:15 +0100
message:
  [FIX] account: removed translate=True on account type in order to fix the translations

addons revision:
------------------------------------------------------------
revno: 4164
tags: openerp-buildfail-1-4893
committer: qdp-launchpad@xxxxxxxxxxx
branch nick: trunk
timestamp: Mon 2011-01-03 09:47:15 +0100
message:
  [FIX] account: removed translate=True on account type in order to fix the translations





References