locale_sheet 0.1.0
locale_sheet: ^0.1.0 copied to clipboard
`locale_sheet` is a lightweight Dart CLI and library that treats an Excel spreadsheet as a single source of truth and converts localization strings into multiple output formats (currently: ARB).
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
- 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.