ARB (Application Resource Bundle)
NeoIQ Localize supports ARB files, the standard localization format for Flutter applications. This format handles plurals, placeholders, and select expressions while maintaining compatibility with Flutter's intl package.
Setting Up
First, make sure you've got a neoiq-localize.json config file in your project root. Here's an example:
Translating
With your config set, run:
When you run this command, NeoIQ Localize will:
- Load your source ARB file (e.g., lib/l10n/intl_en.arb)
- Detect any new or modified translation strings
- Generate translations for your target languages
- Create or update the target language ARB files (e.g., lib/l10n/intl_sv.arb)
- Preserve metadata, placeholders, and plural/select expressions
How is this guide?
Edit on GitHub
Last updated on