Skip to Content
Menu
This question has been flagged
1 Reply
2043 Views

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
Discard
Best Answer

Hi Mohammad:

This section in the Odoo developer documentation may be helpful:

Translation management in JavaScript

Avatar
Discard