basic_message 1.0.2 copy "basic_message: ^1.0.2" to clipboard
basic_message: ^1.0.2 copied to clipboard

A structured, type-safe, and compile-time mapping localization framework for Dart, specifically designed for multi-environment projects (Flutter GUI and Dart CLI). It enables "Define Once, Use Everywh [...]

1.0.2 #

  • Documentation & Specification Upgrade (v2):
    • Introduced the 5-Level Semantic Coordinate Architecture to standardize localization keys and improve maintainability.
    • Adopted a Late-Binding workflow, allowing for more flexible development cycles before final localization.
    • Added L10N_NAMING_GUIDE2.md as the new standard for naming conventions.
    • Added real-world implementation references (chapose and chabox) to the README to demonstrate best practices for CLI and GUI integration.

1.0.1 #

Fix: refine parameter discovery in gen_msg_resource.dart

  • Strictly derive parameters from the param map in message enums.
  • Prevent false positives when parsing complex ICU message strings (e.g., select labels).
  • Improve AST visitor to correctly identify the param argument regardless of its position.
  • Use robust string literal parsing for better content extraction.

1.0.0 #

  • Initial version.
0
likes
140
points
184
downloads

Documentation

API reference

Publisher

verified publisheriche2.com

Weekly Downloads

A structured, type-safe, and compile-time mapping localization framework for Dart, specifically designed for multi-environment projects (Flutter GUI and Dart CLI). It enables "Define Once, Use Everywhere" by decoupling business logic from platform-specific translation implementation.

Repository (GitHub)
View/report issues

Topics

#i18n #intl #localization #translation #language

Funding

Consider supporting this project:

github.com
buymeacoffee.com

License

LGPL-2.1 (license)

Dependencies

analyzer, args, dart_style, logging, path, yaml

More

Packages that depend on basic_message