Skip to main content

i18n job pack for Tessera: check translation-key coverage across locale files.

Project description

tesserakit-i18n

Check translation-key coverage across locale files.

tessera-i18n reads JSON locale files, flattens their (possibly nested) keys, picks a reference locale, and reports which keys are missing, extra, or empty in each locale. No network, no execution.

Check

tessera i18n check --input locales/ --output ./out/i18n_pack

Locale files are JSON; the locale name is taken from the filename (en.jsonen, messages.fr.jsonfr). Nested keys are flattened with dot notation (menu.file.open). Common non-locale files (package.json, tsconfig.json, ...) are skipped.

The reference locale is en if present, otherwise the locale with the most keys.

Artifacts written:

locales.jsonl            one LocaleFile per locale (coverage, missing/extra/empty)
index.md                 coverage table
validation_report.md     per-locale findings
coverage_report.md       fully-translated count + average coverage
missing_keys.md          the actual missing keys per locale (actionable)

Findings

  • missing_translations — keys in the reference absent from a locale
  • extra_keys — keys in a locale not in the reference (likely stale)
  • empty_values — keys present but with an empty string
  • low_coverage — a locale below 90% of the reference keys
  • parse_error, no_locales, single_locale

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesserakit_i18n-0.4.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesserakit_i18n-0.4.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file tesserakit_i18n-0.4.0.tar.gz.

File metadata

  • Download URL: tesserakit_i18n-0.4.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tesserakit_i18n-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d29728b1e5baaad6dcc32ad5ed294e9e4d26b2bba1be6629f4c1736d56fbb2f1
MD5 bc046b794f3f9e8590935c389068e827
BLAKE2b-256 b038c576571667875f7ddbe23ae2518a9d1da559c812b4709fda466f5671ea9b

See more details on using hashes here.

File details

Details for the file tesserakit_i18n-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_i18n-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f985281a000b5fb026e85aabad2115281635301422abf0bc92efa844a783d2b
MD5 2cf6332618f945d955e99c2473db5d67
BLAKE2b-256 05f07b0bdc1e1c626463fa3469aba1b4f153c1b6fcccab921d5fe80963b55782

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page