Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App does not recognize remote changes to user language #2468

Open
kueda opened this issue Nov 20, 2024 · 0 comments
Open

App does not recognize remote changes to user language #2468

kueda opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kueda
Copy link
Member

kueda commented Nov 20, 2024

Describe the bug
The app does not recognize changes the user makes to their language on the server.

To Reproduce
Steps to reproduce the behavior:

  1. On the website, change a user's language preference to Spanish
  2. In the app, sign in as that user; the app should have switched from the default English to Spanish
  3. On the website, change that' user's language preference to French
  4. Force quit the app and start it again
  5. The app is still in Spanish

Expected behavior
If you're signed in, your language preference should be in sync between the web and the app, so when I start the app (or better, whenever the app next fetches users/me), it should update to what the server thinks the language is.

Context (please complete the following information):

  • Device: Simulated iPhone 15
  • OS: iOS 17.2
  • App version: 0.54.1

Additional context
Updating the app's language while offline is a problem here, e.g. if your account is in Spanish, and then while offline you change to French in the app, then you go back online, the server will say the account wants Spanish, even though the user chose French in the app. IMO in that case, the app should take precedence, but a more perfect solution would be to look at when the account was last updated on the server vs when the language pref was changed in the client. The most recent change should take precedence.

@kueda kueda added the bug Something isn't working label Nov 20, 2024
@kueda kueda added this to the Hard Launch (iOS) milestone Nov 20, 2024
@kueda kueda moved this to Todo in iNat Mobile Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant