flutter_i18n_translator 0.1.3
flutter_i18n_translator: ^0.1.3 copied to clipboard
A Flutter/Dart CLI tool that detects missing keys in JSON localization files, auto-translates them, and can regenerate Dart i18n helpers.
Changelog #
All notable changes to this project will be documented in this file.
0.1.3 - 2025-09-25 #
Added #
--autoGenerate
flag to automatically regenerate i18n files (runsdart run i18n_json
).--no-autoGenerate
flag to explicitly disable automatic generation.--addMissingOverrides
flag to ensure missingWidgetsLocalizations
overrides are injected into the rootI18n
class after generation.--no-addMissingOverrides
flag to skip injecting missing overrides.
Changed #
- Updated CLI help message to include the new options.
0.1.0 - 2025-09-24 #
- Initial release of i18n_translator CLI tool.
- Features:
- Detects missing keys in JSON localization files.
- Supports automatic translation using Google Translator.
- Allows batching translations with a configurable character limit.
- Options to auto-translate and apply without manual confirmation.
- Debug logging with
--show-debug
and--no-debug
. - CLI help with
--help
.