Frappe 12.12.0 issue when change language

hi
i can work without problem with english language
but when i change the language to “ar” ,
i can’t access the desk , but i can access /me and homepage outside desk .

apps/frappe/frappe/www/desk.py", line 33, in get_context
boot_json = frappe.as_json(boot)

https://github.com/frappe/frappe/pull/11767

https://github.com/frappe/frappe/pull/11785

Is it only with ar language, what happens with something else that’s not en ?

i will test with other languages now and tell the result

i test it only arabic “ar”

@Javier_Lopez arabic not working other languages works fine