locale_sheet 0.4.0
locale_sheet: ^0.4.0 copied to clipboard
CLI and library that converts Excel localization sheets into ARB and other formats.
CHANGE LOG #
0.4.0 - 2026-01-20 #
- feat: add auto-detect placeholders for the
exportcommand; new CLI options--auto-detect-placeholdersand--treat-undefined-placeholdersto control handling of undefined placeholders; updates to documentation and examples (#24) - feat: accumulate multiple placeholders detected in a single string during auto-detection (improves placeholder merging in exports)
- feat: update
example/sample.xlsxused by CLI and tests (#28)
0.3.0 - 2026-01-11 #
- feat: enhance CLI logging with color output and structured messages (#19)
- feat: add description header support in locale_sheet export (#17)
- chore: update Flutter SDK version to 3.38.6 (#15)
- docs: fix formatting in README and README_ja for consistency (#13)
- chore: agents and scripts improvements (#11)
- chore: standardize CLI/runtime messages to English; update README and tests accordingly (#10)
0.2.0 - 2026-01-10 #
0.1.1 - 2026-01-06 #
- Fixed: Quick Start in
README.md/README_ja.md— dependency example updated tolocale_sheet: ^0.1.1(previously^0.0.2).
0.1.0 - 2026-01-06 #
- Added CLI option
--default-locale(-d) to specify a fallback locale when translations are missing.- If
--default-localeis provided and the locale does not exist in the sheet, the command exits with code64and prints an error. - If
--default-localeis omitted, the CLI usesenif present in the sheet; otherwise it falls back to the first locale column. If no locale columns exist,enis used as a conservative default.
- If
- Threaded
defaultLocalethrough public API:convertExcelToArb/convertExcelBytesToArbnow accept adefaultLocaleparameter (default:'en'). LocalizationExporter.exportsignature now accepts a nameddefaultLocaleargument. Update custom exporters if you implement your own exporter.ArbExporternow falls back todefaultLocalefor missing translations.- Documentation: updated
README.mdandREADME_ja.mdwith examples and notes for--default-locale. - Tests: updated unit tests to reflect the new behavior.
0.0.1 #
- Initial version.