You can move a Flutter project off Localizely in one afternoon without losing a plural form. Pull every ARB file with the Localizely CLI, compare the export to your repo with ARB Diff, import the files with fl import, check them with fl pull, then move Git sync over. Translators keep working in Localizely until a short cutover window. This checklist runs that migration on a real-shaped example: a German source app translated into Polish and French, with ICU plurals and placeholders.
The worked example
The app has 412 keys. German (de) is the source language. Polish and French come from an agency, and a reviewer signs off each string in Localizely before release. The keys that make migrations go wrong are plurals, because each language needs a different set of CLDR forms:
Plural forms each language needs (CLDR)
A typical key in app_pl.arb:
{
"@@locale": "pl",
"cartItems": "{count, plural, =0{Koszyk jest pusty} one{{count} produkt} few{{count} produkty} many{{count} produktów} other{{count} produktu}}",
"@cartItems": {
"description": "Badge on the cart icon",
"placeholders": {
"count": { "type": "int" }
}
},
"greeting": "Cześć, {name}!",
"@greeting": {
"description": "Home screen header",
"placeholders": {
"name": { "type": "String", "example": "Anna" }
}
}
}
The goal: every key, every @description, every placeholder and every plural branch arrives intact.
Step 1: Export every ARB file from Localizely
Use the Localizely CLI rather than the web export, so the export is repeatable on cutover day. Put a localizely.yml in the project root:
config_version: 1.0
project_id: <your-localizely-project-id>
file_type: flutter_arb
upload:
files:
- file: lib/l10n/intl_de.arb
locale_code: de
download:
files:
- file: export/intl_de.arb
locale_code: de
- file: export/intl_pl.arb
locale_code: pl
- file: export/intl_fr.arb
locale_code: fr
params:
export_empty_as: skip
Then pull:
localizely-cli pull --api-token "$LOCALIZELY_TOKEN"
Two settings matter here. export_empty_as: skip leaves untranslated strings out of the files instead of writing empty strings (the default) or copying the German text (main). An empty string counts as a translation, so it would hide a gap. Second, the API token must belong to a user with the Admin role on the Localizely project.
Step 2: Rename to the gen-l10n layout
Projects set up with Localizely's Flutter Intl plugin (intl_utils) use intl_<locale>.arb. FlutterLocalisation works with app_<locale>.arb and Flutter's own gen-l10n. Rename the files and add an l10n.yaml:
- lib/
- l10n/
- app_de.arbtemplate, German source
- app_pl.arb
- app_fr.arb
- l10n.yaml
- pubspec.yaml
arb-dir: lib/l10n
template-arb-file: app_de.arb
output-localization-file: app_localizations.dart
Set generate: true under flutter: in pubspec.yaml, run flutter gen-l10n, and replace S.of(context) with AppLocalizations.of(context)! across the app. The ARB guide covers the rest of the file format.
Step 3: Check nothing was lost with ARB Diff
Open ARB Diff and compare each exported file with the version currently in your repo. It is free and needs no sign-up. You are looking for three things: keys missing from the export, @key metadata that lost its description or placeholders, and plural messages that changed shape.
For CI, or to check all three languages at once, this short Dart script flags keys without metadata and plurals missing a form the language needs:
import 'dart:convert';
import 'dart:io';
const requiredForms = {
'de': ['one', 'other'],
'fr': ['one', 'many', 'other'],
'pl': ['one', 'few', 'many', 'other'],
};
void main() {
final template = _read('lib/l10n/app_de.arb');
for (final locale in requiredForms.keys) {
final arb = _read('lib/l10n/app_$locale.arb');
for (final key in template.keys.where((k) => !k.startsWith('@'))) {
final value = arb[key];
if (value == null) {
print('[$locale] missing: $key');
continue;
}
if (template['@$key'] is! Map) {
print('[de] no @$key metadata');
}
if (value is String && value.contains(', plural,')) {
for (final form in requiredForms[locale]!) {
if (!value.contains('$form{')) {
print('[$locale] $key lacks plural form "$form"');
}
}
}
}
}
}
Map<String, dynamic> _read(String path) =>
jsonDecode(File(path).readAsStringSync()) as Map<String, dynamic>;
Run it with dart run tool/check_arb.dart. In the worked example it reported 9 Polish keys missing (skipped as empty on export) and 2 French plurals without many.
Step 4: Import into FlutterLocalisation and pull back
Install the CLI, link the project, import the three files and pull:
dart pub global activate flutter_localisation_cli
fl init
fl import lib/l10n/app_de.arb
fl import lib/l10n/app_pl.arb
fl import lib/l10n/app_fr.arb
fl pull
git diff --stat lib/l10n
fl pull writes the files back from the platform. If git diff shows only formatting or key order, the round trip kept everything. Run ARB Diff once more on any file that shows content changes. In the dashboard, the ARB editor view puts German, Polish and French side by side, and the plural editor offers the forms each language uses, so the two French plurals missing many are easy to spot and fill.
Step 5: Carry review status over
Since the ARB export drops the reviewed flag, decide what an unreviewed string should become before you import. Filter Localizely's editor to unreviewed translations per language and note the keys. In the worked example that was 31 Polish and 18 French strings.
Worked example: translation state at export
There are two honest options:
- Leave unreviewed translations out of the target files before
fl import. They arrive Empty, AI translation fills them, and they show as Machine until a reviewer checks them. - Import them as they are, and add a comment on each string in the dashboard so the reviewer knows it was never signed off.
The first is cleaner when the unreviewed strings are recent machine output anyway. Either way, a German source edit made after a translation marks it Needs review, so later drift is caught without a list.
Step 6: Switch Git sync and cut over without a freeze
Do the dry run (steps 1 to 5) mid-week while the agency keeps working in Localizely. On cutover day, pull once more, diff the new export against the dry-run files and import only what changed. The pause is the length of that last pull and import, usually under an hour.
Then turn off Localizely's repository integration if you used one, and connect FlutterLocalisation's Git sync to GitHub, GitLab, Bitbucket Cloud or a self-hosted Bitbucket Server. Never leave both connected: two tools committing to the same ARB files will overwrite each other. Invite the translators and the reviewer by email with write access to the project, and they carry on in the dashboard without touching ARB files or Git.
Migrating by hand
- Export once, hope nothing changes
- Spot-check plurals by eye
- Freeze translators for days
- Review history lost silently
This checklist
- Repeatable CLI export
- ARB Diff plus a script for every key and plural
- Cutover pause under an hour
- Unreviewed strings come in as Machine or with a comment
Localizely and FlutterLocalisation compared
| Localizely | FlutterLocalisation | |
|---|---|---|
| Flutter ARB | Yes (flutter_arb) |
Yes (app_<locale>.arb) |
| Other formats | Many: Android XML, iOS strings, XLIFF, PO, JSON, CSV, XLSX and more | ARB, Xcode String Catalogs, Angular ARB |
| Review states | Reviewed or not, per translation | Checked, Draft, Machine, Needs review, Empty |
| AI translation with glossary | Machine translation, check their current plans | Yes, glossary and per-language style |
| Git sync | Repository integrations | GitHub, GitLab, Bitbucket Cloud and Server, both ways |
| Change strings without a store release | Over-the-air SDK | Live updates on Flutter and iOS, Starter plan and up |
| Pricing | Free tier and paid tiers, see localizely.com/pricing | Free (500 keys), Starter 29 EUR/month, Growth 89 EUR/month, Business 249 EUR/month, details |
| Languages | See their plan limits | Adding languages never costs extra |
Localizely is the better fit if you also ship Android XML, PO or XLIFF files. If your apps are Flutter (with or without native iOS) and your team works with translators who need clear review states, the move above is low risk.
- localizely-cli pull with export_empty_as: skip
- Files renamed to app_<locale>.arb with an l10n.yaml
- ARB Diff and the check script pass for de, pl and fr
- fl import and fl pull round trip with a clean git diff
- Unreviewed strings decided: Machine or commented
- Localizely Git integration off, FlutterLocalisation Git sync on
- Translators invited, cutover done
Try FlutterLocalisation free
Import your Localizely ARB files and let your Polish and French translators review in the dashboard. The free plan covers 500 keys with no card: Try FlutterLocalisation free. Want to check your export first? ARB Diff runs in the browser, no account needed.