Toolvito

Calculates on this device. File exports run online.

Localization Validator

Paste or open a source language file and its translation. The page lists every key that is missing, empty or not translated, placeholders that differ, broken ICU messages and the plural forms the language needs, with the line of each one. Test ICU messages, see plural rules, pseudo-localize a file and check language tags too.

Enter your values

Paste the source file (such as en.json) and its translation (such as pl.json), or open them. Each key that is missing, empty, not translated or broken is listed, with the plural forms the language needs.

Your values

Such as de, pl, ar or pt-BR. Needed to check plural forms; .po, .arb and XLIFF files may say it themselves.

More options

For buttons or SMS: every translation longer than this is an error.

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 a whole project (every language at once)

Check a whole project: every language and every locale file

Choose a ZIP of your project (or the locale files themselves). Files are matched by the language in their name or folder: en.json and de.json, locales/fr/common.json, values-pt-rBR/strings.xml, de.lproj/Localizable.strings, messages_es.properties. Every language is checked against the source language; with code files, the keys the code uses are checked too. The report is a CSV file, with a ZIP of the missing keys for each language.

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.

    The language every other one is checked against.

    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 translation

    1. Paste the source file (such as en.json or strings.xml) in Source and the translated one in Translation, or open them.
    2. Type the language of the translation (such as pl or pt-BR) so that its plural forms can be checked; .po, .arb and XLIFF files may say it themselves.
    3. Press Check the translation. Each problem has its key, level (error, warning or note), what is wrong and the line in the translation.
    4. Copy the missing keys file: it has the source texts of every missing key, in the format of your files, ready to send for translation.

    What is checked

    • Keys: missing, extra (old or misspelled), empty, duplicate, and texts that are the same as the source.
    • Placeholders: {{name}} (i18next), %{name} (i18n-js, Rails), {name} and ICU arguments (FormatJS, Flutter, ICU), %s, %1$s, %d, %@ (printf, Android, iOS), ${name} and {0} (Java). Each one must appear as often as in the source.
    • Plural forms: each language needs its own (English one and other; Polish one, few, many and other; Arabic six). The forms come from Unicode CLDR as your browser has them, with example numbers for each.
    • ICU MessageFormat syntax: braces, plural and select choices, the required "other".
    • Markup tags, spaces at the ends, length (longer than the source by a factor, or a fixed limit), fuzzy gettext entries.

    ICU messages, plural rules and language tags

    • Test an ICU message: type the message and values; the page formats it in the language, and writes it once for each plural form.
    • Plural rules: the forms of a language and the form of each number you type.
    • Language tags: checks BCP 47 tags (en-US, zh-Hant-TW, sr-Latn), writes them in standard form, and shows how numbers and dates are written in each locale.
    • Pseudo-localize: writes a test version of a file with accented, longer texts in [ ], keeping placeholders and tags, to find texts that are not translated or are cut off.

    Limits you should know

    • Plural forms come from the browser: an old browser may know fewer languages.
    • Placeholders are compared by name; a translation may need to change their order, which is allowed.
    • The meaning and quality of a translation are not judged.

    Privacy

    Files are checked in your browser. Only the files you choose in the box below are 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