- Addressed breaking change in Flutter framework (flutter/flutter#68911).
- Plural modifiers:
zeroOne
(for 0 or 1 elements), andoneOrMore
(for 1 and more elements). - Fix for when no applicable plural modifier is found. It now correctly defaults to the unversioned string.
.PO
and.JSON
importers contributed by Johann Bauer.
- Sprintf version bump to 5.0.0.
- Added
key
andid
toI18n
widget constructor.
- Docs improvement.
- Better error message for
I18n.of
.
- Bumped
sprintf
to version4.1.0
, which adds compatibility for future Dart features that require a Dart SDK constraint with a lower bound that is>=2.0.0
.
- Allow multi-line statements in getstrings utility.
- More plural modifiers:
three
,four
,five
,six
, andten
. - For Czech language:
twoThreeFour
plural modifier.
- GetStrings exporting utility.
- Docs improvement (no code changes).
- Docs improvement (no code changes).
- Docs improvement (no code changes).
- Added fill() method to default.i18n.dart.
- Don't record unnecessary missing translations with the Translation.byLocale constructor.
- Commented unnecessary tests.
- Added localizationsDelegates and supportedLocales to the docs.
- Docs improvement.
-
I18n.observeLocale() can be used to observe locale changes.
-
Breaking change: Accepts Locale("en", "US"), but not Locale("en_US") anymore, which was wrong. See "A quick recap of Dart locales" in the docs, for more details.
- Fill fix. Docs improvement.
- Interpolation.
- Docs improvement.
- Better fallback.
- Added FAQ to docs.
- Default import records keys.
- First working version.
- Initial commit.