Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adds a new supported language or regional locale to all-api-hub across app and extension runtimes, including locale resources and tests.
32% 68%+36 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 7 of 22 without it.
Before starting work on adding Dutch (nl) localization, what command should be run first to ensure we do not touch unrelated index changes or dirty working tree state?
Runs git status --porcelain before making modifications.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Treat a new language as a cross-runtime compatibility feature. Define one locale contract, then make application resources, browser manifests, auxiliary locale libraries, and tests agree with it.
Establish the current baseline and locale contract.
git status --porcelain and preserve unrelated work and index state.src/constants/i18n.ts, src/utils/i18n/, src/components/LanguageSwitcher.tsx, i18next.config.ts, src/locales/, src/public/_locales/, tests/utils/i18nLocaleValidation.test.ts, and nearby language-specific tests.Check existing focused coverage and characterize uncovered behavior before implementation. The following are coverage targets, not a requirement to edit every test file.
tests/utils/i18nLanguage.test.ts.tests/components/LanguageSwitcher.test.tsx.tests/utils/i18nResources.test.ts.tests/utils/docsLocale.test.ts.tests/utils/i18nLocaleValidation.test.ts only for a stable invariant not already covered by its generic supported-language loops, such as required manifest aliases or locale-specific plural constraints.Implement the complete integration surface.
SUPPORTED_UI_LANGUAGES.src/locales/<app-tag>/ with every current namespace and normalized key family. Preserve interpolation, markup, and literal placeholders users copy into URLs or templates. Implement every cardinal plural category reported by Intl.PluralRules(<app-tag>) and update the locale directory inventory.src/utils/i18n/resources.ts glob-driven unless the resource-loading contract itself must change.src/public/_locales/<chrome_locale>/messages.json resources. Keep application tags hyphenated and Chrome locale identifiers underscored; add regional alias directories only when the browser locale contract requires them.Validate translation and integration integrity.
i18n:status and i18n:extract:ci evidence for the complete new locale. Reuse these checks from an imminent commit hook; run them manually when no hook will run or earlier feedback is needed, rather than requiring a duplicate pre-handoff run.Next to this one in the catalogue, plus more from the same author.