Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2323 Vistas

It seems Odoo do not translate template literals such as `New ${this.name}`

Wondering if there is any tips?


EDIT

I guess the issue lies somewhere in the translator core.

It either reads the string as template string, e.g., `string` and replaces with simple string, e.g., 'string' or reads the string after formatting, so cannot find it in the dictionary

Avatar
Descartar
Mejor respuesta

Hi Mohammad:

This section in the Odoo developer documentation may be helpful:

Translation management in JavaScript

Avatar
Descartar