Hi all,
I’m still searching for the tranlation problem on the frappe website module.
Below is a new basic example (without ajax), I’ll try to be as clear as possible.
Don’t hesitate to ask if you need more information.
Let’s take the standard static “update-password.html” file, it is the web form for changing password.
I’ll try to get the message “Old Password Required.” translated.
To obtain this message just validate the empty form.
Here is my code, you can notice I use the same “Old Password Required.” string 2 times :
- in the HTML part (jinja templating, server side) for placeholder field message
- in the SCRIPT part for msgprint()
That way I’m sure the message is well translated in the dictionnary.
Result : translation works in placeholder but not in the javascript msgprint().

Where to store the translations for such static example ?
No trace of translations in the page source code, neither in frappe-web.min.js, because frappe._messages={}
I 'll really appreciate detailed explanation.![]()
Thanks
