Skip to main content
Back
i18n-check
Community Contributions

i18n-check

Overview

Translation catalogs drift: a key exists in English but is missing in Arabic, or ships empty. i18n-check flattens nested JSON (next-intl, i18next, vue-i18n), compares every locale against a base, and reports missing / extra / empty keys with a summary table — exiting non-zero for CI.

The Challenge

As an app grows bilingual, keeping locale files in sync by hand is error-prone, and broken translations reach production unnoticed.

Our Solution

A ~150-line CLI that reads the JSON you already have, auto-picks a base locale, flattens nested keys to dot-paths, and fails the build the moment catalogs drift.

Results

One command, zero dependencies, works with any JSON-based i18n setup — built for Devya’s bilingual EN/AR products.

Technologies Used

Node.jsi18nnext-intlZero-dependency

Project Details

Category

Community Contributions

Share this project