i18n-validate

Validate i18n JSON files for missing translations, placeholder mismatches, and syntax errors.

157|28|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/Fr-e-d/GAAI-framework --skill i18n-validate-fr-e-d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-validate
Source: https://github.com/Fr-e-d/GAAI-framework/tree/main/.gaai/core/skills/cross/i18n-validate
Command: npx skills add https://github.com/Fr-e-d/GAAI-framework --skill i18n-validate-fr-e-d

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the validation of internationalization (i18n) files, ensuring that translations are complete, consistent, and free from common errors across multiple languages.

Core Features & Use Cases

  • Completeness Checks: Detects missing translations for keys present in the reference language.
  • Consistency Validation: Verifies placeholder usage and adherence to defined glossaries.
  • Format Integrity: Ensures all locale files are valid JSON.
  • Use Case: Before merging a new feature with translated strings, run this skill to catch any missed translations or formatting issues, preventing bugs and maintaining a professional user experience.

Quick Start

Validate all translation files in the 'locales/' directory, using 'en' as the reference language.

Frequently Asked Questions about i18n-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check i18n JSON files for missing translations across multiple languages?

To check i18n JSON files for missing translations, validate locale paths against a reference language to detect incomplete keys. This ensures translation completeness by identifying any untranslated strings across your supported languages.

How do I detect orphaned keys and placeholder mismatches in localization files?

Detect orphaned keys and placeholder mismatches in localization files by running consistency validation against a reference language. This flags unused keys and incorrect variable usage, ensuring format integrity and preventing runtime errors.

What is the best way to validate JSON syntax errors in locale files before merging?

The best way to validate JSON syntax errors in locale files before merging is to run automated format integrity checks. This verifies that all internationalization files are valid JSON, preventing parsing failures in your application.

Can I enforce glossary alignment and length violations during translation consistency validation?

You can enforce glossary alignment and length violations during translation consistency validation by applying configurable validation rules. This checks translated strings against defined glossaries and length limits to maintain quality.

Does i18n validation work with a custom reference language and specific locale paths?

Yes, i18n validation works with a custom reference language and specific locale paths. You can configure the validation rules to operate on specified languages, ensuring all translations match your chosen baseline.

Why does my internationalization validation report orphaned keys in my translation files?

Your internationalization validation reports orphaned keys because those keys exist in your translation files but are missing from the reference language. Removing these unused keys ensures structural consistency across all locales.