Instead of just the normal one _t()
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Бухгалтерия
- Склад
- PoS
- Проекты
- MRP
Этот вопрос был отмечен
Hello,
Sorry for the delay ! Using a lazy translation function allows the translation to take place when the string is rendered to the user, as opposed as translated when the framework interprets the line of code.
Our documentation contains many examples on how to use translations in both the Python ORM and the Javascript Web framework : https://www.odoo.com/documentation/18.0/developer/howtos/translations.html
This section of the page contains an example that illustrates the difference between using the Lazy Translation and the regular one : https://www.odoo.com/documentation/18.0/developer/howtos/translations.html#variables
Hope this helps!
Kind regards,
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
2
нояб. 25
|
341 | ||
|
|
0
июл. 25
|
1046 | ||
|
|
0
июл. 25
|
2058 | ||
|
|
0
июн. 25
|
2007 | ||
|
|
1
июн. 25
|
1711 |