locale_gen 7.0.0
locale_gen: ^7.0.0 copied to clipboard
Dart tool that will convert your default locale json to dart code.
Changelog #
[7.0.0] - 2022-09-23 #
Breaking #
- Removed the need of passing a context to get translations. Migration steps are described in the readme.
[6.0.0] - 2022-09-20 #
Added #
- Added support for non-positional arguments. You cannot use both positional and non-positional arguments in the same string.
[4.1.1] - 2021-12-16 #
[4.1.0] - 2021-12-16 #
Added #
- Support for using an other directory instead of
lib/util/locale
for write all the files
[4.0.0] - 2021-11-12 #
Breaking
- Dart 2.14.0 is minimum dart version
- Fixed an issue where
kDebugMode
moved to another import
[3.7.0] - 2021-11-02 #
- Added better import sorting (alphabetic) so the analyzer won't break everytime
[3.6.1] - 2021-10-12 #
- Issue where an exception was thrown even when it was not needed.
[3.6.0] - 2021-10-12 #
Fixed #
- #53: Issue where a carriage return
\r
would generate invalid documentation - #52: Unnecessary string interpolation for '$key' in
localization.dart
Added #
- #39: Better generated documentation for arguments
- #56: Option to override the localizations. Pass a
LocalizationOverrides
to theLocalizationDelegate
. Refreshing & managing the cached localizations should be done by the developer.
[3.5.0] - 2021-10-06 #
Added #
- locale that was used to initialize your Localization is now also included in
localization.dart
[3.4.1] - 2021-05-07 #
Fixed #
- the default language generation
- the supported language list generation
[3.3.0] - 2021-04-07 #
[3.2.0] - 2021-03-30 #
Added #
- #42 Migrated strict mode code
- #42 Generate strict mode code
- #36 Added support generating documentation so you can see translations in your IDE
- #37 Added config option to configure which languages should be used for generating documentation code
[3.1.0] - 2021-03-25 #
Added #
- #34 Support for skipping a locale at runtime. example: only use dutch in alpha but not in beta & production
[3.0.0] - 2021-03-07 #
[2.0.5] - 2020-10-06 #
Fixed #
- #24: error when using locale_asset_path in combination with the icapps_translations package