CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am a French user of Odoo and I understood how the translation works for the website but the sign in button is not translatable.
I can access files on the server. Can anybody tell me how I can translate this button, hardcoding ?
Thanks in advance,
You are right, the log in button text is in odoo/addons/web/views/webclient_templates.xml.
I was asking the question not to use a find. I used it anyway : a command like :
sudo find /opt/odoo -type f -print0 | xargs -0 grep "Sign in"
gave me the file /addons/website/views/website_templates.xml
Which I edited to translate the sign in button.
In fact, I don't know if the log in button is used for english version or other languages and the sign in button for french version for example.
Anyway, everything's fine, button translated !
Sorry, I thought you are referring to a sign. Do you mean the "Log In" button in the login page? If so, you can try to change the text in odoo/addons/web/views/webclient_templates.xml (search for oe_login_button) and change the text there. You can implement this as XML template inheritance.
About This Community
Odoo Training Center
|Asked: 2/4/15, 6:58 AM|
|Seen: 1277 times|
|Last updated: 3/16/15, 8:10 AM|