跳至內容
選單
此問題已被標幟
1 回覆
13683 瀏覽次數

I know how to use .po files to translate field labels and messages.

However I can not find how to define translations for field.Select options.

Could somone provide an example?

頭像
捨棄
最佳答案

You could do it like this where type is a selection field, you need to provide the translation for every value option of the selection field:

#. module: fetchmail

#: selection:fetchmail.server,type:0

msgid "Local Server"

msgstr "Servidor Local"

頭像
捨棄

Can this be done from the web UI (Odoo13) ?

I think that it could be done from web UI too, get examples from the menu Translated Terms by using custom filter with Type = Selection

相關帖文 回覆 瀏覽次數 活動
0
3月 15
2829
0
5月 21
4372
1
8月 15
13257
2
3月 15
5545
4
5月 23
9192