Jesway / flutter_translate

Flutter Translate is a fully featured localization / internationalization (i18n) library for Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement a missing key strategy

bratan opened this issue · comments

Currently the key itself is returned if the localization is not found.

We should provide the option to return the fallback value instead.

Implement a MissingKeyStrategy enum with the following options:

  • Key (default)
  • Fallback

If Fallback option is selected but is not found then Key will be returned.

#34 #46 #93

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.