aissat / easy_localization

Easy and Fast internationalizing your Flutter Apps
https://pub.dev/packages/easy_localization
MIT License
908 stars 325 forks source link

Add useFallbackTranslationsForEmptyResources parameter to use fallback if translation lookup returns an empty string #663

Closed VladShturma closed 5 months ago

VladShturma commented 5 months ago

There were already two pull requests about this feature, but they seem not active anymore. So I decided to create my own one.

I made parameter to control this behaviour. And it is false by default, so the behaviour be consistent with previous versions. Because as was mentioned here it might be a valid case to have "" as a translation

VladShturma commented 5 months ago

@bw-flagship done