Ir al contenido
Menú
Se marcó esta pregunta

I sell to mexican clients and US clients, and the product names vary per language, right now it only shows the language that i did on my database on my reports, is there a way to massively import the translations of my products? 

Avatar
Descartar
Autor Mejor respuesta

IMPORT PRODUCT TRANSLATIONS, but this also works for any type of translation that we wanna import***. 

Step 1: Activate Languages

Path: Settings > General Information > Languages > activate the language you need.

Remember, we need to know the language name and its short code. To check it:

  1. Activate developer mode.

  2. Go to Languages > Manage Languages.

  3. Locate the language name and locale code.


Step 2: Export Translations

  1. Go to Settings > Translations > Export / Translation.

  2. Select the language you want to export.
    ⚠ Important: only one language can be selected at a time.

  3. Choose the format: CSV or PO (instructions for PO are explained below).

  4. In Model to Export, select the relevant model.

  5. Click Export.

A CSV file will be downloaded, for example: en_us.csv.





Step 3: Edit the CSV File

  • In the SRC column, the original product name in the default language will appear.

  • In the Value column, add the translation for the new language.

  • Save the CSV file once all translations are added.


 


Step 4: Import Translations to Odoo

Path: Settings > Translations > Import / Translations

  1. Enter the language name and code.

  2. Click Upload Your File and select the edited CSV file.

  3. The translations will be imported into Odoo.





 

 



Steps to Edit and Import Translations (.po method)

  1. Download Poedit
    • Go to Poedit.
    • Download and install the free version (available for Mac, Windows, Linux).

  1. Open the .po File
    • Launch Poedit.
    • Open the .po file you want to edit (exported from Odoo or provided).

  • In the top half of the editor, you will see the original text.
  • In the bottom half, enter the translation line by line.
  1. Save Changes
    1. Save your file in Poedit.
    2. Poedit will generate both .po and .mo files.
  2. Import Back into Odoo
    1. In Odoo, go to Settings > Translations > Import Translation.
    2. Upload the updated .po file.  With the code for the language that you are editing 



Repeat per Language

  • Each language requires its own .po file.
  • Repeat the process for every target language.


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ago 25
343
1
sept 24
2420
2
jul 25
1040
0
ago 25
688
2
ago 25
902