Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
14198 Weergaven

Hello, I have Odoo 8 and I want to export translation to import it in another database. I create the translated terms in Settings -> Translations -> Terms of the application -> Translated terms.

Then I go to Settings -> Translations -> Import/Export and then Export the language I want.

Then, in the new database, I go to Settings -> Translations -> Import/Export and Import the file what I have created. In the name of the Translation I put "Spanish (AR) / Español (AR)" and in the code "es_AR". I import the file and then go to "Synchronize terms" but the translation not works, the therms are not translated.

What is my mistake? Thanks!  

Avatar
Annuleer
Beste antwoord

 for export translations from "database_a":

./odoo.py  --language=es_AR  --i18n-export=/tmp/es_AR.po -d database_a


above command will export translations for all installed modules in "database_a" to the /tmp/es_AR.po file, then for import the exported terms in "database_b", run following two commands:

./odoo.py  --load-language=es_AR  --stop-after-init  -d database_b

./odoo.py  --language=es_AR --i18n-import=/tmp/es_AR.po  --i18n-overwrite  -d database_b

Avatar
Annuleer
Auteur

It is not any way to export translations from the UI?

Of course it's possible

you've exported it correctly from UI I think, most probably you've problem with import

you can simply open the exported file and you'll see if it contains translations, it's easy to verify

Gerelateerde posts Antwoorden Weergaven Activiteit
0
sep. 16
3237
8
sep. 16
4998
0
mrt. 15
4609
2
mrt. 15
5827
3
jul. 25
8772