AnderGoig / github-contributions-ios

🐙🐱 GitHub Contribution Widgets for iOS
https://apps.apple.com/app/id1537192731
MIT License
327 stars 28 forks source link

Spanish widget when chose English #3

Closed jeremmfr closed 3 years ago

jeremmfr commented 3 years ago

Describe the bug If chose English in parameters, application switch in English but widget stay in Spanish 'Contributionnes' and widget options 'Usuario', 'Tema' ...

To Reproduce Steps to reproduce the behavior:

  1. Install app
  2. It's in Spanish by default. Switch in English in parameters.
  3. Add widget with medium size on home.
  4. See widget with Spanish word for contribution
  5. Open widget options and see Spanish words for username, colors, ...

Expected behavior English words in widget when chose English in parameters

Smartphone :

AnderGoig commented 3 years ago

Thanks @jeremmfr! I will take a look to see if I can reproduce it.

jeremmfr commented 3 years ago

Thanks.
A precision. Global language parameter in my device is French.
I tested application with XCode Simulator. Global language parameter in simulator is English, so application default language is English. If switch application parameter in Spanish, application words is in Spanish but widget stay in English. This is same bug as my first explanation.

jeremmfr commented 3 years ago

We can close this issue, it's general to all iOS widgets which do not respect the choice of the language on the application but choose the first available language in the default list of the system.