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
Check these values
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.
Your result
How it was worked out
How to check a Flutter app
- Paste l10n.yaml (or leave it empty when your app has none) and choose the ARB files.
- Paste the Dart files that show texts, such as your screens.
- Press Check. Problems are listed by file, message and line; the table of languages shows how much is translated.
- 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.