[trunk] some menu translations only available after manually synchronizing

Bug #696760 reported by Chertykov Denis
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

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: <email address hidden>
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: <email address hidden>
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

Related branches

Revision history for this message
Chertykov Denis (chertykov) wrote :
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

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:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
milestone: none → 6.0-rc2
status: New → Confirmed
summary: - [trunk] strange localization problem
+ [trunk] some menu translations only available after manually
+ synchronizing
Changed in openobject-server:
status: Confirmed → In Progress
milestone: 6.0-rc2 → 6.0
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

This issue and all related translation issues (those that could be fixed by synchronizing manually) should be fixed by revision 3225 <email address hidden>

Thanks!

Changed in openobject-server:
status: In Progress → Fix Released
Revision history for this message
Chertykov Denis (chertykov) wrote :

Today I have created a new test OpenERP database in Russian language, and founded that few terms are untranslated.
server revno: 3275
addons revno: 4253

Snapshot in attachment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.