ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Translations don't work


#1

Hi, I created custom script for adding button in the sales invoice, then I added translation for this button’s label but it doesn’t work.
maybe someone had the same problem and can help me?


#2

You may want to use the __() for translations.

More help on custom scripts -
https://erpnext.com/docs/user/manual/en/customize-erpnext/custom-scripts/custom-script-examples


#3

Thank you but I used __() before button’s label and my question isn’t about custom scripts