Reputation: 27
I'm developing an application using Flutter and Firebase. I need to support multiple languages and I was wondering about what is the best solution to do that... Can I keep the strings in Firebase and fetch them without downloading them each time I need? When the user select a language the first, usually it does not change, but sometimes it could. Thanks!
Upvotes: 1
Views: 838
Reputation: 7598
I can't understand why you want to use multi-languages feature using Firebase.
In any app at least there are static texts.So at least for that part you don't need the translation stored in the Firebase (performance issue). I suggest to have a look at this package easy_localization
: https://pub.dev/packages/easy_localization
Why you should use static translation:
when using non static translation (downloaded from Firebase) :
Upvotes: 2