How to change the default language from english to arabic before user login?
i wrote the following but nothing change!
frappe.local.lang = “ar”
How to change the default language from english to arabic before user login?
i wrote the following but nothing change!
frappe.local.lang = “ar”
Set in System Settings
What do you mean by System settings?
From Desk:
Setup/System Settings/Language
Then reload ERPNext
Hi @mostafa,
Refer Link:-
https://frappe.github.io/erpnext/user/manual/en/setting-up/settings/system-settings.html
I have the same problem, and it doesn’t work to change the language through System Settings, but, for example, your browser is in another language, because the priorities are the following:
Form Dict > _lang
Cookie > preferred_language [Guest User only]
Request Header > Accept-Language [Guest User only]
User document > language
System Settings > language
same happened here where is the code to force default lang not based on browser or operating system
regards