コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
3047 ビュー

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.

アバター
破棄
著作者

Thanks the problem has solved

最善の回答

Please check the below link

https://github.com/odoo/odoo/issues/47334#issuecomment-630185968

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 24
1239
3
6月 24
2440
0
6月 21
1714
1
8月 24
2581
4
1月 24
13477