RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
1.98k stars 1.16k forks source link

the single-server branch can't change language #5823

Open tangalan83 opened 1 month ago

tangalan83 commented 1 month ago

the single-server branch cannot change languages. There is no error message prompted after the "Settings - Change Language" operation, but there is no language update on the UI. The UI update will only be available after terminating the app and logging in again. May I ask if you have noticed this issue? How to solve this bug? Thanks!

diegolmello commented 1 month ago

Did you try changing the language on the app from the stores? The different between master and single-server are minimal and don't impact languages.

tangalan83 commented 4 weeks ago

Thank you for your reply!

  1. Set APPLICATION_ID, VERSIONCODE and BugsnagAPIKey on ./android/gradle.properties
  2. generate the Keystore No other source code modifications have been made Yarn Android White Myappid runs on a real machine --Mode=experimentalLayDebug discovered this bug --Mode=ExperimentalPlayRelease No discovered this bug
diegolmello commented 4 weeks ago

Would you say it's not really a bug, since it works in release? That said, it would be important to fix in debug as well. I'm happy to review your PR if you wish to contribute. Thanks!