flutter_arb_translator
1.0.29, released 2 weeks ago by an unverified publisher
A command line tool to automatically translate Flutter ARB localization files using various APIs.
What it does
A command-line tool that simplifies translating Flutter ARB files into multiple languages using external translation services like Azure, Yandex, Google Cloud, DeepL, Amazon Translate, LibreTranslate, and OpenAI. It supports annotations, plurals, and placeholders.
AI-written summary of version 1.0.29, based on the package's README and metadata. Report an inaccuracy
Use it when
- You manage Flutter localization using ARB files and need automated translations.
- You want to integrate cloud translation services like DeepL or Google Cloud into your localization workflow.
Skip it when
- You do not use ARB files for localization.
- You require fully offline translations without third-party API keys (unless running a self-hosted LibreTranslate instance).
Strengths
- Supports a wide variety of popular translation APIs including OpenAI, DeepL, and Google Cloud.
- Preserves ARB annotations, plurals, and placeholders.
- Offers flexible options like filtering by specific keys, interactive mode, and forcing overrides.
Weaknesses
- Requires API keys and accounts for external translation services, some of which are paid.
- Run as a command-line tool rather than a standard Dart package library inside the app.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 9
Add flutter_arb_translator to dev_dependencies and create a configuration file at dev_assets/flutter_arb_translator_config.json with credentials for your chosen translation service.
flutter pub run flutter_arb_translator:main --from en --to es --to it --service azureAlternatives
Packages that do the same job and could replace flutter_arb_translator.
- localization
Simplify in-app translations using JSON files or maps with string extensions.
50Compare - slang
Type-safe i18n solution generating Dart translation classes from JSON, YAML, CSV, or ARB files
90Compare - auto_translator
A CLI tool to translate ARB files using Google Cloud Translate and DeepL.
47Compare - arb_translate
CLI tool to automatically generate missing translations for ARB files using AI models.
46Compare
Works with
Packages commonly used together with flutter_arb_translator: ones it builds on, ones built on it, and its own family.
- cryptoflutter_arb_translator depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- argsflutter_arb_translator depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- intlflutter_arb_translator depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- convertflutter_arb_translator depends on itEncoders and decoders for converting between different data representations.
- pointycastleflutter_arb_translator depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- html_unescapeflutter_arb_translator depends on itUn-escapes HTML-encoded strings supporting named, decimal, and hexadecimal character references.
- encrypter_plusflutter_arb_translator depends on itHigh-level APIs over PointyCastle for two-way cryptography, supporting AES, RSA, Salsa20, and Fernet.