Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
5452 Vues

​In zh_CN of 12.0 CE, the record g/m/t of uom miss translation item , and the translation item of record "fl oz"  is incorrect.
So I make a po file to fix it.

#. module: uom
#: model:uom.uom,name:uom.product_uom_floz
msgid "fl oz"
msgstr "液盎司"

#. module: uom
#: model:uom.uom,name:uom.product_uom_meter
msgid "m"
msgstr "米"

#. module: uom
#: model:uom.uom,name:uom.product_uom_ton
msgid "t"
msgstr "吨"

#. module: uom
#: model:uom.uom,name:uom.product_uom_gram
msgid "g"
msgstr "克"

When I import this po file with --i18n-overwrite option, the reocrd g/m/t of uom is show translate name, but the translation of recode "fl oz" is not overwrite.

If I fix translate item for "fl oz" in uom module's i18n po file, this issue can be fix.

How to overwrite the translate terms of  uom.uom records without modify offical source?

Avatar
Ignorer

You can participate in the community efforts and contribute to the translation on transifex.

Auteur Meilleure réponse

@Waleed Mohsen

this solution not work for me.

Avatar
Ignorer

Try to delete the old term from translated terms and import your file again.

Auteur

Thank you!

I know this solution can fix this issue,

But I want to know why translation term is not overwriten.

I got the same issue with my translation as I did uninstall and install for a module many times and I got an orphan translation (not linked to module) and when I tried to overwrite them it's not worked with me so I delete them and overwrite them and it works with me.

Auteur

I am thinking about thi: Is my operation method wrong? or it's a bug in Odoo, or does odoo not support the translation overwrite of model:name?

Meilleure réponse

I have created a file like yours and imported it with overwrite option and it's overwritten.

What you have to do is enable developer mode and go to settings -> Translations -> Translated Term and search for "fl oz" and see how many translation found for this term and you can translate it directly from there.    


Avatar
Ignorer
Publications associées Réponses Vues Activité
2
mars 23
5368
2
mars 22
2725
0
mars 15
3876
0
mars 15
4698
1
mars 15
5264