showly-2.0 icon indicating copy to clipboard operation
showly-2.0 copied to clipboard

UI language changes after suspend resume

Open blackholeearth opened this issue 3 years ago • 7 comments

Description: UI language changes after suspend resume .

My settings: my phone lang is german. Showly app lang is English. (İn showly settings menu)

Steps to reproduce: 1)open showly app progress page . UI is english (showly app Lang) 2) switch to another app. 3) watch movie or youtube 1 2 hour, 4) switch to showly app. UI is german (android phone language )

Expected:: UI is always english (showly app Lang). Even after app minimized then switched back . suspend resume.

Temp_Fix : kill showly reopen App.

note:: You will not see this bug. İf your phone lang is same with showply App language .

Phone:
Android 12 - samsung a12.

This also happened in my old phone: Android 8.1 - moto g4

blackholeearth avatar Oct 11 '22 19:10 blackholeearth

https://github.com/michaldrabik/showly-2.0/blob/master/app/src/main/java/com/michaldrabik/showly2/App.kt

oncreate : it is called for first run but. . OnResume : After minimize app reentering app, OnResume İs called, but OnCreate is not called in this situation.

So initLanguage() function is not called.

How to fix: Need to call initLanguage() iniside OnResume.

blackholeearth avatar Oct 11 '22 19:10 blackholeearth

Hi, could you also specify device model and Android version?

michaldrabik avatar Oct 13 '22 06:10 michaldrabik

@blackholeearth Working on some updates - feel free to test out this version and send some feedback. If you update make sure to go into settings and switch to any other language and then back to english.

app-release.apk.zip

michaldrabik avatar Oct 16 '22 12:10 michaldrabik

Error . Package clashes with the existing package Couldn't installed.

blackholeearth avatar Oct 16 '22 16:10 blackholeearth

Ah yeah sorry this is not Play Store signed. If you do not want to uninstall your current version no problem just need to wait till official release.

Thanks

michaldrabik avatar Oct 16 '22 16:10 michaldrabik

Bless ur hand, mostly done. 👍👍

There are couple of places that hasnt been fixed.

  • ""airs in x days""

  • notification texts . Syncing now ( when pressed mark episode) Syncing failed texts

blackholeearth avatar Oct 30 '22 08:10 blackholeearth

Here this place has wrong language

Screenshot_20230613-133345_Showly

blackholeearth avatar Jun 13 '23 10:06 blackholeearth

İ think , this is fixed in lastest version, released within 2 3 months.

blackholeearth avatar Jul 03 '24 15:07 blackholeearth