i18n-localization

Detect hardcoded strings and validate translation key consistency across locale files.

41|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/DevayoshaUS/Women-scholarship --skill i18n-localization-devayoshaus
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: i18n-localization
Source: https://github.com/DevayoshaUS/Women-scholarship/tree/main/hackathon-main%20%281%29/hackathon-main/.agent/skills/i18n-localization
Command: npx skills add https://github.com/DevayoshaUS/Women-scholarship --skill i18n-localization-devayoshaus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Hardcoded user-facing strings and inconsistent translation keys across locale files break internationalized applications, causing untranslated UI text and missing translations in production. ## Core Features & Use Cases - Hardcoded String Detection: Scans React, Vue, and Python files for untranslated text in JSX elements, attributes, and print statements. - Locale Completeness Check: Compares translation keys across language files to find missing or extra keys per namespace. - Implementation Guidance: Provides patterns for react-i18next, next-intl, and Python gettext, plus RTL support with CSS logical properties. - Use Case: Before shipping a multilingual SaaS app, run the checker to find components with hardcoded English text and verify that the Turkish and Arabic locale files contain all keys present in the English base files. ## Quick Start Ask the AI to audit your project for hardcoded strings and missing translations by running the i18n checker script against your project directory.

Frequently Asked Questions about i18n-localization

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

FAQPage Schema
How do I find hardcoded strings in React components?▼

Run the i18n checker script against your project path to scan JSX files for text directly in elements, title, placeholder, and aria-label attributes. Files already using t() or useTranslation are recognized as properly internationalized.

How to check missing translations across locale files?▼

The checker loads JSON files from locales, translations, lang, or i18n directories, flattens nested keys, and compares each language against the base language. It reports missing and extra keys per namespace.

react-i18next vs next-intl for Next.js internationalization?▼

next-intl integrates with Next.js routing and server components using useTranslations with namespaces, while react-i18next uses the t() function with useTranslation. Both are supported patterns in this Skill's guidance.

Does the i18n checker support Python projects?▼

Yes, it scans Python files for hardcoded strings in print statements, raise calls, and Flask flash messages. It recognizes gettext patterns like _() and gettext() as proper internationalization, and also finds .po locale files.

How do I support RTL languages like Arabic in CSS?▼

Use CSS logical properties such as margin-inline-start and padding-inline-end instead of margin-left and padding-right. For directional icons, apply transform: scaleX(-1) under the [dir="rtl"] selector.

What are the limitations of automated hardcoded string detection?▼

Regex-based detection can produce false positives on capitalized text that is not user-facing and may miss dynamically constructed strings. The script limits analysis to 50 code files and skips test, build, and dependency directories.