Skip to content

Releases: impaktfull/flutter_locale_gen

10.0.0

14 Nov 09:31
d0275b8
Compare
Choose a tag to compare

[10.0.0] - 2022-11-14

  • Updated the signature of load to support getting the bundle to load from. Falls back to rootBubdle

v9.0.1

06 Oct 07:35
fd44350
Compare
Choose a tag to compare

Updated

  • Updated travis to linux from macOS

v9.0.0

03 Oct 13:58
6b72f5b
Compare
Choose a tag to compare

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

26 Sep 09:28
Compare
Choose a tag to compare

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

23 Aug 11:55
9130644
Compare
Choose a tag to compare

Fixed

  • Sorting of the default language in the supported languages

v4.1.2

01 Feb 15:29
8918207
Compare
Choose a tag to compare

[4.1.2] - 2022-01-01

Fixed

  • changed language code to toLanguageTag()

v4.1.1

17 Dec 11:56
e12c2b0
Compare
Choose a tag to compare

[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

16 Dec 14:59
e4e7457
Compare
Choose a tag to compare

Added

  • Support for using an other directory instead of lib/util/locale for write all the files

v4.0.0

12 Nov 09:42
cb1a421
Compare
Choose a tag to compare

[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

02 Nov 08:43
Compare
Choose a tag to compare

[3.7.0] - 2021-11-02

  • Added better import sorting (alphabetic) so the analyzer won't break everytime