flappy_translator 2.0.0-nullsafety.1 flappy_translator: ^2.0.0-nullsafety.1 copied to clipboard
A tool which automatically generates Flutter localization resources from CSV and Excel files.
[2.0.0-nullsafety.1] - 10/04/2021 #
- Adds null safety support
- Breaking change: input file path can no longer be given as command line argument
- Logs an error when a locale is invalid
- Logs an warning when a locale is not supported by Flutter
- Improved test coverage
[1.5.0] - 19/10/2020 #
- Adds support to generate localization resources from Excel files (XLSX)
- Removes dependency on Flutter and increases Dart SDK constraint to >= 2.7
- Fixes a bug where a variable named
text
would not be correctly processed - Fixes a bug where variables named as dart keywords would crash code generation
- Updates the example to be compatible with newer versions of flutter
[1.4.0] - 20/09/2020 #
- The getter
locaStrings
(map of key-locastring for the current locale) can now be generated depending on the input settingexpose_loca_strings
- The getter
localeMaps
(map of loca maps per locale) can now be generated depending on the input settingexpose_locale_maps
[1.3.0] - 05/09/2020 #
- The method
getString(String key)
can now be generated depending on the input settingexpose_get_string
- Variable names are now checked if they are valid (i.e. myVar is valid, both my-Var and MyVar aren't)
- To avoid generated code triggering warnings, certain rules are now ignored. This is a temporary solution until v2.0.0
[1.2.2] - 27/01/2020 #
- Fix issue on Locale written in camelCase
[1.2.1] - 24/01/2020 #
- Make sure that snake_case countries like
de_CH
are written in camelCase in generated file
[1.2.0] - 06/12/2019 #
- Add setting to handle "no break" spaces by replacing them by normal spaces
[1.1.0] - 02/12/2019 #
- Add lot of configurations in pubspec.yaml :
- Ability to define generated filename and classname
- Ability to use other delimiter than ","
- Ability to have other columns between keys and values (one for description for example)
- No need for BuildContext
- Ability to use double or simple quotes on generated file
- Ability to define generated filename and classname
- Additionally :
- All generated parameters are now @required
- Added currentLocale to generated file
- Better Readme.md
- All generated parameters are now @required
[1.0.4] - 18/10/2019 #
- Handle possibility to have multiple languages for one country
[1.0.3] - 21/08/2019 #
- Fix error on CSV not well formed
- Fix error when using Dart reserved keywords
[1.0.2] - 21/08/2019 #
- Fix template by handling a String instead of file
[1.0.1] - 21/08/2019 #
- Fix documentation
- Fix template's file path
[1.0.0] - 21/08/2019 #
- Initial Release