Releases: impaktfull/flutter_locale_gen
Releases · impaktfull/flutter_locale_gen
10.0.0
v9.0.1
Updated
- Updated travis to linux from macOS
v9.0.0
Breaking
Translations can no longer be accessed from static methods on the Localization class. Instead you now need to manually manage the different localization instances. Migration steps are described in the readme.
v8.0.0
Breaking
Arguments are now formatted using the sprintf package. This means %d now refers to integers only. Use %f to format doubles, you can also use some format specifiers, eg: (%.2f will show 2 decimals)
This means that the sprintf package must be added to the pubspec.yaml (at least ^6.0.2)
Added
Support for plurals had been added, see the readme on how to use them
Updated
Dependencies
v5.0.0
Fixed
- Sorting of the default language in the supported languages
v4.1.2
[4.1.2] - 2022-01-01
Fixed
- changed language code to
toLanguageTag()
v4.1.1
[4.1.1] - 2021-12-16
Fixed
- Output path should also be used for the correct imports
Added
- Extra error handling for the output_path. (output_path should always start with
lib/
) - Extra unit tests & refactored some code to have smaller tests
v4.1.0
Added
- Support for using an other directory instead of
lib/util/locale
for write all the files
v4.0.0
[4.0.0] - 2021-11-12
Breaking
- Dart 2.14.0 is minimum dart version
- Fixed an issue where
kDebugMode
moved to another import
v3.7.0
[3.7.0] - 2021-11-02
- Added better import sorting (alphabetic) so the analyzer won't break everytime