MatchingTranslations

Version 0.1.0+

Identifies missing or additional translations in locale files.

Examples

The following examples contain code snippets that either fail or pass this check.

✗ Fail

The following locale files aren't consistent:

en.default.json

es.json

es.json is missing greeting and goodbye translations:

fr.json

fr.json is missing greeting and has a goodby tag that isn't present in the default locale:

✓ Pass

The following locale files are consistent:

en.default.json

fr.json

Disabling this check

Disabling this check isn't recommended because it might result in an inconsistent translation experience for some users.