I changed the default system language to arabic and I changed Guest user language to arabic
After that, when i open the system without login i find the language is English.
How can i change the guest user language to arabic foreaver!!!
I changed the default system language to arabic and I changed Guest user language to arabic
After that, when i open the system without login i find the language is English.
How can i change the guest user language to arabic foreaver!!!
The problem at âfrappe.sessionsâ line 231 i removed guest checking, and i dont know why they check if user is guest, we have default language already at system settings?
# if self.sid != "Guest":
frappe.local.user_lang = frappe.translate.get_user_lang(self.data.user)
frappe.local.lang = frappe.local.user_lang
@rmehta is this the correct solution?
It should just use frappe.get_conf().get(âlangâ)
and set default lang
in site_config.json
frappe.get_conf().get(âlangâ) in site_config.json
doesnât work with me,still english.
why you didnt get the default website language from the system->setting?
Send a PR!
Are you solve this
It doesnât look like solved.