Help

3

How do you translate a field.Select item? (not the field label but the select options)

Avatar
E.M.

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?

Avatar
Discard
1 Answer
1
Avatar
Axel Mendoza
Best Answer

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"

2 Comments
Avatar
Discard
Avatar
Eleuterio Millan
-

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

Avatar
Axel Mendoza
-

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