Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

.csv import of translations of data fields doesn't work Odoo18

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
importcsvtranslationsOdoo18
1 Rispondi
2266 Visualizzazioni
Avatar
Emmanuel van Hecke

Hi,


Trying to import translations via .csv file of text data in Odoo18 without success.

Using Settings->Translations->Import translation in debug mode.

Managed to read the file without error messages, but unfortunately nothing happens.

Message in log file is limited to 
INFO odoo werkzeug: 192.168.1.19 - - [14/Jul/2025 08:12:14] "GET /web/webclient/translations/6a81be58d8f6a5736c82d879222e37305a2e0221?lang=en_US HTTP/1.1" 200 - 1 0.008 0.011

Trying to load fr_BE records additional to en_US base language.


I would very much appreciate a basic working example of a .csv import. one record should be enough...
For example of the field name in product.template

  • Since Odoo 16, translations shifted from the ir_translation table to JSONB fields in the database. Previously, translations were stored in the ir_translation table with separate records for each language. Now, translatable fields (e.g., name, description) store translations directly in JSONB columns on the model’s table.
    Most of the tutorials are older or focus on translating module text.
    My focus is translating data text in Odoo18.

  • I understand that in the .csv the value of the "src" field has to be exactly the same as the one of the base language in the database and that the easiest way to obtain it is via the export translation. 
    Same for "res_id" and "name" fields in the .csv.

  • I understand also that the .csv has to be comma separated and also UTF8 formatted otherwise it won't work.

  • I have tested with basic text without spaces or special characters. 
    I have also tried enclosed in double quotes or simple quotes.
Actual contents of Product_template, name : 
{"en_US": "Sofa"}

Export Settings
Language? New Language (Empty translation template)
File Format? CSV File
Export Type? Module
Apps To Export? Products & Pricelists

This is (part of) the contents of product.csv exported file :
module,type,name,res_id,src,value,comments
product,model,"product.template,name",product.consu_delivery_01_product_template,Sofa,,

Import translation
Language Name? French_BE
Code? fr_BE
File? myimport.csv
Overwrite Existing Terms? Yes

This is the contents of myimport.csv imported file :
module,lang,res_id,name,type,src,value
product,fr_BE,product.consu_delivery_01_product_template,"product.template,name",field,Sofa,Canap,

0
Avatar
Abbandona
Emmanuel van Hecke
Autore

Hi,

This worked for me. You have to change the language in the user settings (right upper corner). As a net result you should see your interface change to the selected language.

Prepare a file (here it can be XLSX also) with the external IDs (that you can get from a previous export) and the fields that you want translated (other non language dependent fields are welcome of course).
Once the test says everything is fine, you can import. Odoo replies by saying how many records were imported.

Thank you for your help, it helps make shorter days.

Avatar
Ray Carnes (ray)
Risposta migliore

Switch the language to French, then import the french names directly via the Products / Product Variants Menu.

Just make sure you use the External ID for the product.template or product.product as applicable.

Your table in this case would be:

"id","name"
"my_product_template.my_id","Canap"


When clicking the translation button next to the Product Name:


You will see both names:


Repeat this process for each additional language

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
How to import products with translations in V7 from csv Risolto
import csv translations
Avatar
Avatar
Avatar
2
dic 20
12523
Disable automatic follow when importing res.partner csv
import csv
Avatar
Avatar
Avatar
3
giu 20
4865
Enable/disable import rights?
import csv
Avatar
Avatar
1
nov 18
10368
'utf8' codec can't decode byte error when importing a list of products as a CSV file Risolto
import csv
Avatar
Avatar
Avatar
Avatar
Avatar
11
feb 17
64883
Import translation status / mass update translation status
import translations
Avatar
0
nov 16
4549
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now