arabize_cli 1.0.0
arabize_cli: ^1.0.0 copied to clipboard
Command line tool to check, fix and translate Flutter apps for Arabic and RTL.
Changelog #
Unreleased #
1.0.0 #
- First stable release. No API changes since the previous version.
0.4.0 #
translatealso translates messages whose source text changed, using.arabize_translations.jsonin the ARB directory to remember what was translated. Commit that file.translatereadsarabize.yamlfor a tone (msaoregyptian), a glossary and a do-not-translate list.- Add
arabize translatewith Anthropic, OpenAI and Gemini providers. It adds the messages a target ARB file lacks. The API key comes fromANTHROPIC_API_KEY,OPENAI_API_KEYorGEMINI_API_KEY. translatechecks that each message keeps its placeholders and plural or select structure, sends failing messages again up to three times and skips the ones that still fail.
0.3.0 #
- Add
arabize extractto list hardcoded user-facing strings. - Add
extract --writeto merge the strings intoapp_en.arbwith generated keys. - Add
extract --replaceto swap the strings in code forAppLocalizationsgetters. Interpolations become placeholders of typeObject. - Add
arabize l10n-checkto report missing and unused keys and placeholder mismatches in ARB files.
0.2.0 #
- Add
arabize checkwith text and JSON output and a non-zero exit code. - Add
arabize fixwith--dry-run. checkandfixskip generated files.fixleaves code assigned to a concrete type such asEdgeInsetsand updatesshowclauses on Flutter imports.