quran_android icon indicating copy to clipboard operation
quran_android copied to clipboard

Issues with app language

Open nacer80 opened this issue 3 years ago • 8 comments

السلام عليكم ورحمة الله وبركاته We have an issue with app language, If we have mobile language ex English and we change app language to Arabic, some times the app language changed to English. وجزاكم الله خيرا

nacer80 avatar Mar 12 '21 15:03 nacer80

وعليكم السلام ورحمةالله وبركاته Yes, i faced the same issue, though it got fine once i opened the settings again, i.e., the changes in language aren't getting reflected right away, once again a trip to settings is needed to be taken, then it becomes fine

HashirGJ8842 avatar Mar 12 '21 17:03 HashirGJ8842

Many brothers faced the same issue, we tried before to change language in settings but still the issue not fixed. Now if we need to change the app language to Arabic we have to change the mobile language to Arabic too.

nacer80 avatar Mar 12 '21 20:03 nacer80

As far as I know, this is an issue inherited from the Android framework. The Android is not designed for apps to override system locale (the locale that user sets in the Settings). Since the Arabic language in our app is not following the system settings, there will be context lost if the app is left in the background for an extended period of time.

A workaround would be to force close the app (close all apps from recent app history or swipe and dismiss Qur'an Android) and re-opening it. Another option is, as @HashirGJ8842 suggested, to turn Arabic locale off and on again.

ozbek avatar Mar 15 '21 05:03 ozbek

More strange: From Play store, Mar. 18:

Nice app but once you accidentally change language to arabic. you can't go back. i uninstalled the app because of that.

benomaire avatar Mar 23 '21 19:03 benomaire

i get a bunch of emails about this - we need a confirmation dialog to stop ppl from accidentally do this

ahmedre avatar Mar 23 '21 19:03 ahmedre

PRs Welcome? :)

ozbek avatar Mar 24 '21 08:03 ozbek

As far as I know, this is an issue inherited from the Android framework. The Android is not designed for apps to override system locale (the locale that user sets in the Settings). Since the Arabic language in our app is not following the system settings, there will be context lost if the app is left in the background for an extended period of time.

A workaround would be to force close the app (close all apps from recent app history or swipe and dismiss Qur'an Android) and re-opening it. Another option is, as @HashirGJ8842 suggested, to turn Arabic locale off and on again.

Well said, I faced this issue, my phone is set to English, while app language is Arabic. Sura name and other information on the page screen, are occasionally switched to English, as well as menus. After app force close, it goes back to normal (Arabic).

yazansarsour avatar Apr 24 '21 19:04 yazansarsour

السلام عليكم ورحمة الله وبركاته

Please we have to find a solution to fix this issue, now the only solution is turned the language of device to Arabic وجزاكم الله خيرا

nacer80 avatar Nov 21 '21 20:11 nacer80