Skip to Content
Menu
This question has been flagged
2 Replies
6024 Views

I am having a strange issue with odoo translation engine: the translation works fine for all the fields, but not for the view: all the translated strings are field labels, but "string" attributes for view.xml tags remain untranslated.

https://www.dropbox.com/s/o81q7gg0jbtl3ft/TmaV3.png?dl=0

view.xml:

                     <page name="public" string="Form 1">
                        <group>
                            <group>

....

                                    <field name="address_home_id"
                                           context="{'show_address': 1}"
                                           options='{"always_reload": True, "highlight_first_line": True}'
                                           string="Permanent Address"
                                    />

However, I do have those strings in both my.po file:

#. module: hr_mis
#: model:ir.ui.view,arch_db:hr_mis.view_employee_form
msgid "Form 1"
msgstr "ပုံစံ (၁)"

....

#. module: hr_mis
#: model:ir.ui.view,arch_db:hr_mis.view_employee_form
msgid "Permanent Address"
msgstr "အမြဲတမ်းနေရပ်လိပ်စာ"

and in the database:

https://www.dropbox.com/s/8ly9dnlj4gelrwy/2r3y2.png?dl=0

Any idea what did I do wrong?

Avatar
Discard

Could you find out? I have the same problem.

Best Answer

See the post: [https://github.com/odoo/odoo/issues/24534][1]

In resume, this Tab/Page string is read from Database, so remove --dev=xml from your runtime config.

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 24
30
2
Feb 24
1525
4
Nov 23
1101
0
Sep 23
496
0
Sep 23
450