i18n-localization

Detect hardcoded strings and validate locale JSON key consistency across locales.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/nishchaydev/emitra --skill i18n-localization-nishchaydev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-localization
Source: https://github.com/nishchaydev/emitra/tree/main/.agent/skills/i18n-localization
Command: npx skills add https://github.com/nishchaydev/emitra --skill i18n-localization-nishchaydev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you prevent broken or inconsistent internationalization by guiding how to structure translation keys, manage locale files, and support right-to-left (RTL) languages without hardcoding user-facing text.

Core Features & Use Cases

  • Translation-ready UI guidance: Prefer translation keys over raw strings and namespace them by feature for maintainable growth.
  • Locale file organization: Use a clear locale folder structure (e.g., locales/en, locales/tr, locales/ar) so keys stay consistent across languages.
  • Framework-friendly implementation patterns: Apply common approaches for React and Next.js (e.g., react-i18next and next-intl) when integrating i18n into routes and components.
  • RTL readiness: Plan for RTL from the start using CSS logical properties and direction-aware styling.

Quick Start

Run the i18n checker against your project to detect likely hardcoded strings and validate that locale JSON files have matching keys across supported languages.

Frequently Asked Questions about i18n-localization

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

FAQPage Schema
How do I detect hardcoded strings in my React app for internationalization?

To detect hardcoded strings during internationalization, this Skill scans your React and Next.js codebase for raw user-facing text and reports mismatches suitable for development audits. It identifies likely un-translated text so you can replace it with translation keys.

How do I validate translation key consistency across multiple locale JSON files?

Validating translation key consistency involves comparing locale JSON files across supported languages and namespaces to find mismatches. This Skill scans your locale folder structure to ensure every language has matching keys, preventing missing translations.

Does this Skill work with Next.js and frameworks like react-i18next or next-intl?

Yes, this Skill works with Next.js and React by applying common i18n implementation patterns for frameworks like react-i18next and next-intl. It guides how to structure translation keys and integrate i18n into routes and components.

What is the best way to plan RTL readiness for a multilingual web project?

Planning RTL readiness for a multilingual web project involves using CSS logical properties and direction-aware styling from the start. This Skill provides guidance to support right-to-left languages like Arabic without hardcoding user-facing text.

How should I organize locale files to prevent broken internationalization?

To prevent broken internationalization, organize locale files using a clear folder structure like locales/en and locales/ar, and namespace translation keys by feature. This Skill guides how to structure these files so keys stay consistent across languages.