intl_ai 0.3.0 copy "intl_ai: ^0.3.0" to clipboard
intl_ai: ^0.3.0 copied to clipboard

ARB files AI translation that works with `flutter_localizations` and `intl`.

Changelog #

0.3.0 #

  • #40 Add interactive mode for adding / updating config.
  • #39 Replace ignore with do_not_translate_phrases in README.

0.2.0 #

Breaking changes #

  • Rename ignore to do_not_translate_phrases in AiTranslationConfig (#4).

Added #

  • Preserve and merge metadata (@@locale, @@last_modified, etc.) from template ARB into translated files (#17).
  • Validate translated result for missing keys and require all keys in the prompt (#19).
  • Add stop_reason / finish_reason validation and increase max_tokens for Anthropic (#18).

Fixed #

  • Use jsonEncode in translation repository for correct JSON escaping (#24).

0.1.0 #

  • Initial release.
  • ARB AI translation via OpenAI and Anthropic providers.
  • Incremental and full translation modes.
  • Dry-run mode with review file output.
  • ICU/placeholder validation.
1
likes
140
points
7
downloads

Documentation

API reference

Publisher

verified publisherkrolmic.dev

Weekly Downloads

ARB files AI translation that works with `flutter_localizations` and `intl`.

Repository (GitHub)
View/report issues

Topics

#localization #i18n #translation

License

MIT (license)

Dependencies

args, http, logging, mason_logger, meta, path, yaml

More

Packages that depend on intl_ai