İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4071 Görünümler

I've recently develop a new module the module name in manifest file is Extra Hours so i've made a translation .po file and added this line of codes:

#. module: base
#: model:ir.module.module,shortdesc:base.module_ru_extra_hours
msgid "Extra Hours "
msgstr "اضافه کاری"

The problem is that the name stay the same "Extra Hours" and the translation not applied.

Avatar
Vazgeç
Üretici

Thanks the problem has solved

En İyi Yanıt

First of all, do not create the translation file manually. It faced many problems.

Adding a new translation to the project is not the end. You must update the DB to force the odoo to update translations. So after uploading your new codes, then update command and add the following option:

odoo-bin {other options] --update all --load-language fa_IR --stop-after-init

see the following link for more information:

https://www.odoo.com/documentation/16.0/developer/reference/cli.html

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Tem 25
2022
3
May 25
3520
0
Haz 21
2365
1
Ağu 24
3466
4
Oca 24
14251