localization_gen 1.0.0 copy "localization_gen: ^1.0.0" to clipboard
localization_gen: ^1.0.0 copied to clipboard

Type-safe localization generator for Flutter with nested JSON support, modular organization, and parameter interpolation.

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.0.0 - 2024-12-14 #

Added #

  • Initial stable release
  • Type-safe localization generation from JSON files
  • Support for nested JSON structure
  • Support for modular organization with multiple JSON files per module
  • Parameter interpolation with named placeholders
  • Customizable configuration via pubspec.yaml
  • Context-aware localization access
  • Multiple example applications:
    • Default example with nested JSON
    • Modular example with feature-based organization
    • Monorepo example with multi-package architecture
  • Comprehensive test coverage (59 tests across all examples)
  • Detailed documentation and guides
  • CLI tool for code generation
  • Support for multiple locales
  • Type-safe delegate generation for Flutter

Features #

  • Nested JSON Support: Organize translations hierarchically
  • Modular Files: Split translations by feature module
  • Parameter Interpolation: Dynamic values in translations
  • Type Safety: Compile-time checking of translation keys
  • Customizable: Flexible configuration options
  • Production Ready: Battle-tested with comprehensive examples

Documentation #

  • Complete README with usage guide
  • QUICKSTART guide for rapid setup
  • EXAMPLES guide comparing different approaches
  • Individual READMEs for each example
  • API documentation
  • Migration guides

Testing #

  • Unit tests for core functionality
  • Widget tests for all examples
  • Integration tests for monorepo setup
  • Test runner script for CI/CD
  • 100% test pass rate

0.1.0 Development #

Added #

  • Initial development version
  • Basic JSON parsing
  • Code generation prototype
  • Experimental features

Version History #

1.0.0 #

First stable release ready for production use. Includes comprehensive examples, documentation, and testing.


Upgrade Guide #

From 0.x to 1.0.0 #

  1. Update your pubspec.yaml:

    dev_dependencies:
      localization_gen: ^1.0.0
    
  2. Review your configuration (minimal changes needed)

  3. Regenerate your localization files:

    dart run localization_gen:localization_gen
    
  4. Update imports if needed (class names remain the same)


Future Roadmap #

Planned for future releases:

  • Additional language support features
  • Performance optimizations
  • More configuration options
  • Additional examples
  • Enhanced error messages
  • IDE plugins

For detailed information about each version, see the Releases page.

1
likes
0
points
361
downloads

Publisher

unverified uploader

Weekly Downloads

Type-safe localization generator for Flutter with nested JSON support, modular organization, and parameter interpolation.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

args, path, yaml

More

Packages that depend on localization_gen