intl_ai 0.3.0
intl_ai: ^0.3.0 copied to clipboard
ARB files AI translation that works with `flutter_localizations` and `intl`.
Changelog #
0.3.0 #
0.2.0 #
Breaking changes #
- Rename
ignoretodo_not_translate_phrasesinAiTranslationConfig(#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_reasonvalidation and increasemax_tokensfor Anthropic (#18).
Fixed #
- Use
jsonEncodein 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.