Odoo Help

2

How to overwrite Translations?

By
Maik Steinfeld
on 5/17/13, 11:35 AM 2,780 views

Hello,

i have a problem either with understand or with realising translations in OpenERP.

I would like to overwrite already translated fields in OpenERP.

For Example:

we have the field "Product Manager" in product object. For german it is already translated in de.po in the product module.

So i exported product from language section in Settings, find the right entry and copied it to my own de.po file from my own module.

But it doesn't work.

What is the right way to overwrite already translated fields?

Greets from the baltic sea

Maik

1
Borni DHIFI
On 5/17/13, 12:03 PM

Hi,

in Line : server/openerp/addons/base/ir/ir_translation.py,66

Here self._overwrite should be True in order to update existing translations.

-- self._overwrite = context.get('overwrite', False)
++ self._overwrite = context.get('overwrite', True)

Thank You.

I'll have a try

Maik Steinfeld
on 5/21/13, 4:21 AM

Do it this way, so it works.. so it is from the bug which links "Serpent Consulting Services", thank you :)

Maik Steinfeld
on 5/21/13, 4:30 AM
1
Cyril Gaspard (GEM)
On 5/19/13, 10:18 AM

HI,

use Internationalization options in your server lunch command, see :

option

or add appropriate option in your config file, see list of options in file :

list

(restart openerp server)

bye

I'll have a try also..

Maik Steinfeld
on 5/21/13, 4:22 AM
1

Hi,

There exists a branch for v6.0 if that helps : https://code.launchpad.net/~kangol/openobject-server/6.0-translation-update-overwrite

On Launchpad there is a recent bug too : https://bugs.launchpad.net/openobject-server/+bug/1166776

Thanks.

the bug i've also seen, i don't know wether it is meant this way.. seems to be a bug in own translation for own fields..that once imported fields translations are not updated in second update

What is the aim of this branch??

Maik Steinfeld
on 5/21/13, 4:21 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/17/13, 11:35 AM
Seen: 2780 times
Last updated: 3/16/15, 8:10 AM