# Translation and override

**URL:** https://discuss.tryton.org/t/translation-and-override/1100
**Category:** Developer
**Created:** [February 3, 2019, 7:10pm UTC](https://discuss.tryton.org/t/translation-and-override/1100 "2019-02-03T19:10:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jcm](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jcm/32/344_2.png) [@jcm](https://discuss.tryton.org/u/jcm)
#### Post date: [February 3, 2019, 7:10pm UTC](https://discuss.tryton.org/t/translation-and-override/1100/1 "2019-02-03T19:10:04Z")

</div>

I’m stuck with translations that don’t appear in reports, especially for overrides. Maybe I missed a step. Could you tell me if my method is right? Is there a way to query the translation system, maybe from proteus, to test that everything is correctly setup?

My translations are organized like this:

my\_module

> ```
> locale
> en.po # new terms added in my custom reports
> fr.po # new terms translated
> override
> en.po # jargon terms changes
> fr.po # translation of jargon terms changes
> 
> ```

When I enter a new entry in a \*.po, I then update with trytond-admin -u my\_module, then I synchronize with the wizard in Administration \> Localization \> Synchronize translations.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [February 4, 2019, 8:38am UTC](https://discuss.tryton.org/t/translation-and-override/1100/2 "2019-02-04T08:38:33Z")

</div>

Which _msgctxt_ are you using on the translation override files? On this file you should specify the original module and id so the server is able to determine which translation should be updated.

Everything is [explained on our documentation.](http://docs.tryton.org/projects/server/en/latest/topics/translation.html?highlight=override#override-translations)

---

<div class="post-metadata">

### Author: ![jcm](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/jcm/32/344_2.png) [@jcm](https://discuss.tryton.org/u/jcm)
#### Post date: [February 4, 2019, 5:31pm UTC](https://discuss.tryton.org/t/translation-and-override/1100/3 "2019-02-04T17:31:44Z")

</div>

Thks Pokoli. Yes I’ve read the docs but it’s not clear for me.

For instance, to change Height to the Thickness in product\_measurements I have the following entry in override/en.po:

> msgctxt “field:product.product,height:”  
> msgid “Height”  
> msgstr “Thickness”

I tried with

> msgctxt “field:product.product,height:product\_measurements”  
> or  
> msgctxt “field:product.template,height:product\_measurements”  
> or  
> msgctxt “field:product.template,height:”  
> too without sucess.

I found no id (-1) on the original string by searching:

> /model/ir.translation;name=“Traductions”&search\_value=[[“rec\_name”%2C"ilike"%2C"%25Height%25"]]&views=[66%2C65]

---

<div class="post-metadata">

### Author: ![nicoe](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/nicoe/32/2880_2.png) [@nicoe](https://discuss.tryton.org/u/nicoe)
#### Post date: [February 4, 2019, 6:08pm UTC](https://discuss.tryton.org/t/translation-and-override/1100/4 "2019-02-04T18:08:18Z")

</div>

I think it should be something like:

`msgctxt "field:product.product,height:product_measurements."`

(note the final dot).

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [March 6, 2019, 6:08pm UTC](https://discuss.tryton.org/t/translation-and-override/1100/5 "2019-03-06T18:08:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
