Toolvito

Calculates on this device. File exports run online.

Flutter Localization Checker

Paste your l10n.yaml, choose the ARB files of lib/l10n and paste the Dart code that shows texts. The page checks the options gen-l10n reads, every ARB file against the template, the messages your code uses that the template lacks (the app would not compile), and AppLocalizations.of(context) where the getter may be null.

Enter your values

Checks your l10n.yaml for options gen-l10n does not know, every ARB file against the template, and the Dart code for messages the template lacks or that no code uses.

Your values

Leave it empty when the app has no l10n.yaml.

All files of your arb-dir (lib/l10n): at most 200 files of 5 MB each, read in this browser.

Paste the files that show texts; for a whole project use the box below.

More options

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose the button below them.

Check the whole Flutter project (l10n.yaml, every ARB file, the Dart code, iOS)

Check the whole Flutter project: l10n.yaml, every ARB file, the Dart code, iOS

Choose a ZIP of your Flutter app (with l10n.yaml, lib and ios; build and .dart_tool are skipped). Everything the page checks is checked for all files of the project at once, and the report is a CSV file.

Or drop files here. ZIP, JSON, ARB, YAML, YML, PROPERTIES, PO, POT, XLF, XLIFF, XML, STRINGS, JS, JSX, TS, TSX, DART or PLIST, up to 200 files, 200 MB each at most.

    More options

    The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    How to check a Flutter app

    1. Paste l10n.yaml (or leave it empty when your app has none) and choose the ARB files.
    2. Paste the Dart files that show texts, such as your screens.
    3. Press Check. Problems are listed by file, message and line; the table of languages shows how much is translated.
    4. Check Info.plist for iOS too: iOS shows the app only in the languages listed there.

    What is checked

    • l10n.yaml: options gen-l10n does not know (with the nearest real one), values of the wrong kind, a template-arb-file that is not among your files, preferred-supported-locales that no file has, required-resource-attributes, and the deprecated synthetic-package.
    • ARB files: the rules of gen-l10n, as in the Flutter ARB Validator.
    • Dart code: messages used as AppLocalizations.of(context)!.name, context.l10n.name or through a variable set from of(context); a message the template lacks is an error. With nullable-getter true (the default) of(context) needs a !.
    • iOS: every locale of your ARB files should be in CFBundleLocalizations of ios/Runner/Info.plist.

    Limits you should know

    • Dart code is read, not compiled: messages reached in other ways (a map of getters) are not found.
    • For a whole app with all its files, use the project check below.

    Privacy

    Files and code are checked in your browser. Only what you choose in the box below is sent to the Toolvito server, to be checked there. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.

    Related tools