Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Previous language remains after switching back to system language

Open HS0204 opened this issue 8 months ago • 2 comments

Checked for duplicates?

  • [x] This issue is not a duplicate

Does it also happen in the desktop version?

  • [x] This bug does not occur in the latest version of Anki Desktop

What are the steps to reproduce this bug?

  1. set the app language to system language
  2. change the language to another language
  3. change it back to system language
  4. you can find that parts of the UI still remain in the previous language

https://github.com/user-attachments/assets/2ee1fd08-dcfb-40b4-944f-dafd80c8fe71

If the app is restarted the system language is applied correctly. This issue doesn't occur between specific languages. It only occurs when switching back to system language. Example:

  • English -> Korean -> English: works correctly
  • system language -> Korean -> system language: problem occurs

For reference, my phone's system language is English. I don't think whether this issue might depend on which language is set as system language. But I'm sharing my environment just in case.

Expected behaviour

It could apply the language change dynamically, or show a notification like the desktop version asking the user to restart the app. Personally, I think the first option would be better, since this issue only occurs in niche case.

Image

Debug info

AnkiDroid Version = 2.24.0alpha7-debug (3d9df21b057d59e111275a485de6ad6f1b1fc7f0)  
Backend Version = 0.1.63-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)  
Android Version = 16 (SDK 36)  
ProductFlavor = play  
Device Info = samsung | samsung | pa1q | pa1qksx | SM-S931N | qcom  
WebView Info = [com.google.android.webview | 763212003]: Mozilla/5.0 (Linux; Android 16; SM-S931N Build/BP2A.250605.031.A3; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/145.0.7632.120 Mobile Safari/537.36  
ACRA UUID = 51568d9d-2616-4839-9a25-42eff5b4e64c  
FSRS = 5.1.0 (Enabled: false)  
Crash Reports Enabled = false

(Optional) Anything else you want to share?

No response

Research

  • [x] I have checked the manual and the FAQ and could not find a solution to my issue
  • [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

HS0204 avatar Mar 10 '26 00:03 HS0204

Ah, the funny bug! https://github.com/ankidroid/Anki-Android/issues/18517

ZornHadNoChoice avatar Mar 10 '26 01:03 ZornHadNoChoice

😂 oops this has already been discussed quite a bit!

HS0204 avatar Mar 10 '26 01:03 HS0204