Improvements #13759
openChange the language of texts in built-in widgets
0%
Description
The authWidget documentation lists three ways to customize this widget, while there is a fourth way, which is to change the language of the text in the widget. After some searching, I found out that this widget uses localized strings and the strings are in the auth_strings.xml file. I translated a version of it into my language (Persian) and placed it next to my project files and added it to the application. Now there are two solutions:
- Modify the authWidget documentation (and other possible widgets) and point to this method
- Add the translated files as embedded files to the library (I am ready to do the translation to Persian)
Note: Since the Persian language is RTL, in the translated version of the auth_css_theme.xml file, I directly changed the value of the dir attribute of the form div tag, perhaps it is better to use the wTemplates condition option in the original version.
I have attached the translated auth_strings.xml file.
Files
No data to display