python - Translation url is not working on top menu in odoo (openerp) website ? -


i created top menus on custom module , working well. following code creating menu.

<record id="cloud_menu" model="website.menu">         <field name="name">cloud</field>         <field name="url">/#cloud</field>         <field name="parent_id" ref="website.main_menu" />         <field name="sequence" type="int">2</field> </record>  <record id="software_menu" model="website.menu">         <field name="name">software</field>         <field name="url">/#software</field>         <field name="parent_id" ref="website.main_menu" />         <field name="sequence" type="int">3</field> </record>  .... 

but problem was, when selected arabic (or language other english) , choose of created top menu (only menus created module), loads english website.

http://10.0.0.90:8069/#cloud     

when entered manually working

http://10.0.0.90:8069/ar_sy/#cloud 

so how can achieve translation url in top menu on custom module.

thanks in advance

just sure, make sure arabic lang installed, custom menu created using english add arabic translation load your custo menus in arabic when load website in arabic url.

bests


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -