Skip to main content

localize_it_annotation 4.1.0 copy "localize_it_annotation: ^4.1.0" to clipboard
localize_it_annotation: ^4.1.0 copied to clipboard

Annotation for localize_it code generation. This package does nothing without localize_it too.

4.1.0 #

  • Added String.trIn(String context, [Map<String, Object?> args]) for strings that need a different translation depending on where they are shown. Falls back to the plain string while the context key has no translation.
  • Added LocalizeIt.contextKey and LocalizeIt.contextSeparator (@@).

4.0.0 #

  • Added String.trWithArgs(Map<String, Object?> args) for translations with named {name} placeholders.
  • Added LocalizeIt.translate to plug in the runtime lookup (e.g. LocalizeIt.translate = (key) => key.tr; with GetX).

3.0.0 #

  • Breaking: Requires Dart SDK ^3.9.0 (drops support for Dart 2.x and for Dart versions below 3.9).
  • Bumped dev dependency test to a current major.

2.0.0 #

  • Updated README.md.

1.0.1 #

  • Migrated to null-safety.

1.0.0 #

  • Initial version.
0
likes
150
points
49
downloads

Documentation

API reference

Publisher

verified publisherchristiankonnerth.me

Weekly Downloads

Annotation for localize_it code generation. This package does nothing without localize_it too.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on localize_it_annotation