tylerbwong / stack

An Android app for browsing Stack Overflow and other Stack Exchange sites.
https://stack.tylerbwong.me
GNU General Public License v3.0
510 stars 34 forks source link

Support Multiple Locales #90

Closed tylerbwong closed 1 year ago

tylerbwong commented 3 years ago

Is your feature request related to a problem? Please describe. Currently, there are four localized Stack Exchange sites:

These are all currently accessible in the app via a site change in the settings page, however it would be nice if these could be the default site if a user's default locale is one of the four.

Describe the solution you'd like

  1. We provide localized string resources for all of the current app strings for each of the four languages.
  2. We set the default site to one of the four depending on the user's default locale.

Additional context Even though other languages are not provided by Stack Overflow, it would be nice to still have localized app string resources for them.

tylerbwong commented 3 years ago

119a474 sets the default site to one of the four above if the device language is set accordingly. Follow-ups will be made for app string resource translations.