# A test reads every locale catalog for another language's words

scripts/catalog-language.test.mjs fails when a catalog string contains a word of one of the other three languages, or when a translation repeats the English sentence. The 8,236 strings shipped today pass.

- **A locale catalog holds its own language.** Key parity cannot tell whether `de.ts` holds German: a key copied over with its English text passes. `scripts/catalog-language.test.mjs` (in `pnpm test`) reads the web, mobile, error and email catalogs and the push texts in English, German, French and Brazilian Portuguese. It fails on a word or letter that belongs to one of the other three languages, and on a translated string of three or more words that is the English string word for word. It found nothing to fix in 8,236 strings. It works from short word lists, so a one-word label left untranslated still needs a reviewer. See [conventions](/docs/development/conventions#ui-and-language). ([#241](https://github.com/CarlosZiegler/fofo/pull/241))
