Skip to main content

arabize_cli 1.0.0 copy "arabize_cli: ^1.0.0" to clipboard
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 #

  • translate also translates messages whose source text changed, using .arabize_translations.json in the ARB directory to remember what was translated. Commit that file.
  • translate reads arabize.yaml for a tone (msa or egyptian), a glossary and a do-not-translate list.
  • Add arabize translate with Anthropic, OpenAI and Gemini providers. It adds the messages a target ARB file lacks. The API key comes from ANTHROPIC_API_KEY, OPENAI_API_KEY or GEMINI_API_KEY.
  • translate checks 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 extract to list hardcoded user-facing strings.
  • Add extract --write to merge the strings into app_en.arb with generated keys.
  • Add extract --replace to swap the strings in code for AppLocalizations getters. Interpolations become placeholders of type Object.
  • Add arabize l10n-check to report missing and unused keys and placeholder mismatches in ARB files.

0.2.0 #

  • Add arabize check with text and JSON output and a non-zero exit code.
  • Add arabize fix with --dry-run.
  • check and fix skip generated files. fix leaves code assigned to a concrete type such as EdgeInsets and updates show clauses on Flutter imports.
0
likes
160
points
679
downloads

Documentation

API reference

Publisher

verified publisheromarelnasherty.com

Weekly Downloads

Command line tool to check, fix and translate Flutter apps for Arabic and RTL.

Repository (GitHub)
View/report issues

Topics

#arabic #rtl #localization #flutter

License

MIT (license)

Dependencies

analyzer, path, yaml

More

Packages that depend on arabize_cli