gen_l10n_utils 1.6.0
gen_l10n_utils: ^1.6.0 copied to clipboard
A CLI tool for merging, flattening, and managing gen_l10n translation files.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.6.0 - 2025-03-20 #
Added #
- CSV export format with the following columns:
- Key: Translation identifier
- Source: Text in base language
- Target: Text in target language
- Description: Context and usage notes
- Placeholder: Variable name
- Placeholder Details: Type, example, and description
- Detailed documentation in README
1.5.0 - 2025-03-20 #
Added #
- New XLSX export format with
xlsxoption for the export command - Excel exports feature three organized sheets:
- Overview sheet with file metadata and language information
- Translations sheet with key, source, and target columns
- Metadata sheet with detailed information about descriptions and placeholders
- Documentation for XLSX export format in README.md
Changed #
- Updated export command to support the new XLSX format
- Enhanced output path reporting for XLSX files to indicate the sheet structure
1.4.0 - 2025-03-20 #
Added #
- Support for YAML format export (
yaml) via the export command - New examples in README for YAML format export
- New file extension
.yamlfor exported files - Documentation for YAML format in the README
- Support for metadata preservation in YAML format including descriptions and placeholders
Changed #
- Updated README with YAML format examples and documentation
- Removed deprecated conversion methods from ArbConverter class
- Simplified ArbConverter implementation
- Made format handling more consistent across converters
Removed #
- Deprecated format-specific conversion methods in ArbConverter
1.3.0 - 2025-03-19 #
Added #
- Support for Gettext PO format export (
po) via the export command - New examples in README for PO format export
- New file extension
.pofor exported files - Documentation for PO format in the README
- Support for metadata preservation in PO format including descriptions and placeholders
Changed #
- Fixed null safety issue in
export_command.dartwith config file handling - Improved error handling in export command
- Updated export command documentation
- Made export format parameter case-insensitive
- Enhanced configuration file error messages
Fixed #
- Issue with nullable
Filetype in export command - Configuration file handling in export command
- Error messages for missing configuration files
1.2.0 - 2025-03-19 #
1.1.0 - 2025-03-19 #
1.0.4 - 2025-03-19 #
Fixed #
- Permission errors in GitHub Actions workflow:
- Created dedicated temp directory with write permissions
- Set proper MOCK_BASE_PATH environment variable
- Improved test debugging with verbose output
- CI workflow sequence to generate mocks before analyzing code to prevent analyzer errors
Changed #
- Disabled failing tests in output generation group temporarily
- Core functionality stabilization in progress
- Tests to be re-enabled in future releases
1.0.3 - 2025-03-18 #
Added #
- Duplicate key detection and conflict reporting within each language
- "First occurrence wins" strategy for resolving duplicate keys
- Enhanced conflict reporting showing source files and values
- Unit tests for conflict detection functionality
Fixed #
- Issue with duplicate keys being overwritten incorrectly