podverse / podverse-rn

Podverse mobile app written in React Native for iOS, Android, and F-Droid
https://podverse.fm/about
GNU Affero General Public License v3.0
219 stars 36 forks source link

Allow changing the translation selected in the app and override the device's default language #1212

Open mitchdowney opened 2 years ago

mitchdowney commented 2 years ago

The first, is the ability to change the language in the iOS or in the app settings. I'm bilingual and I often want to switch an app's language based on the context in which I use the app.

mitchdowney commented 2 years ago

If possible, handle this "app language override" within the app settings on the device. This should apparently be possible on iOS, but I'm not sure if it can be done on Android.

Add language selection here:

image

mitchdowney commented 2 years ago

I tried to add this...and got everything done except actually make it work :( I can't figure out how to handle the AsyncStorage requirement for the custom language selection, and make it work with the initializeTranslator function. I'm not sure if what I'm trying to do is even possible without a total overhaul of our app...

Related work: https://github.com/podverse/podverse-rn/commit/85a1dbb566a13c113208b6a4428e2773ce8dd7c1