austinried / subtracks

A music streaming app for Subsonic-compatible servers
GNU General Public License v3.0
674 stars 29 forks source link

Subtracks alpha.1-2.0.0 language problem #160

Closed Virtuo1 closed 1 year ago

Virtuo1 commented 1 year ago

Describe the bug The app is in wrong language.

To Reproduce Steps to reproduce the behavior:

  1. Download apk and install it
  2. Open app

Expected behavior The app should be in either english or swedish (system language).

Screenshots Screenshot_2023-04-28-14-11-15-47_8364df8e84bc6cb6f31c661dbaeaaf78.jpg

Smartphone (please complete the following information):

austinried commented 1 year ago

Do you have Arabic in your system languages? The app should be falling back through your list of preferred languages until it finds one that both it supports and is in your list of languages, falling back to English after that.

Virtuo1 commented 1 year ago

I do not. I only have swedish installed, and it is set to default. Screenshot_2023-04-28-14-28-25-95_fc704e6b13c4fb26bf5e411f75da84f2.jpg

Looks like this

Virtuo1 commented 1 year ago

I just added english and now it displays correctly in english. However, I feel like this shouldn't be a necessary step in case your language isn't supported?

austinried commented 1 year ago

Yep you're correct, looks like it's actually falling back to the first language in the list alphabetically by mistake instead of to en. I'll have the fix for that in alpha.2