Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

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

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
importcsvtranslationsOdoo18
1 Responder
2353 Visualizações
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
Cancelar
Emmanuel van Hecke
Autor

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)
Melhor resposta

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
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
How to import products with translations in V7 from csv Resolvido
import csv translations
Avatar
Avatar
Avatar
2
dez. 20
12544
Disable automatic follow when importing res.partner csv
import csv
Avatar
Avatar
Avatar
3
jun. 20
4920
Enable/disable import rights?
import csv
Avatar
Avatar
1
nov. 18
10399
'utf8' codec can't decode byte error when importing a list of products as a CSV file Resolvido
import csv
Avatar
Avatar
Avatar
Avatar
Avatar
11
fev. 17
64943
Import translation status / mass update translation status
import translations
Avatar
0
nov. 16
4574
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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