fast_i18n 1.8.2 copy "fast_i18n: ^1.8.2" to clipboard
fast_i18n: ^1.8.2 copied to clipboard

discontinuedreplaced by: slang
outdated

Lightweight i18n solution. Use JSON files to create typesafe translations.

1.8.2 #

  • Hotfix: possible NPE when calling Translations.of(context)

1.8.1 #

  • Hotfix: possible NPE error when calling LocaleSettings.useDeviceLocale or LocaleSettings.setLocale

1.8.0 #

  • New advanced mode: final t = Translations.of(context)

1.7.0 #

  • Prefer language code over region code.

1.6.1 #

  • Add more unit tests.
  • Code Polishing.

1.6.0 #

  • Generates List<String> or Map<String, String> instead of List<dynamic> or Map<String, dynamic> if the children are only strings.
  • You will experience a better autocompletion like .substring, .indexOf, etc. because of that.

1.5.0+2 #

  • Update README

1.5.0+1 #

  • Update README

1.5.0 #

  • Define additional metadata in the config.i18n.json file.

  • Maps defined with #map are now deprecated. Use config.i18n.json for that.

  • Add LocaleSettings.locales to get the supported locales.

1.4.0 #

  • Add support for country codes. Use e.g. strings_en_US.i18n.json or strings_en-US.i18n.json.

  • Add fallback for LocaleSettings.setLocale if locale is not supported.

1.3.0 #

  • Add support for lists.

  • Add support for maps. Use { "#map": "" } to enable map inlining.

1.2.0+1 #

  • Update README

1.2.0 #

  • Only one single .g.dart will be generated

1.1.2 #

  • Fix iOS bug in LocaleSettings.useDeviceLocale

1.1.1 #

  • Fix for LocaleSettings.useDeviceLocale

1.1.0 #

  • Add LocaleSettings.useDeviceLocale()

1.0.0 #

  • Initial Release
  • basic json support (no arrays)
132
likes
30
points
2.86k
downloads

Publisher

verified publishertienisto.com

Weekly Downloads

Lightweight i18n solution. Use JSON files to create typesafe translations.

License

MIT (license)

Dependencies

build, devicelocale, flutter, glob

More

Packages that depend on fast_i18n