i18n-localization

Detect hardcoded strings and check locale file consistency with a Python script.

Updated Dec 4, 2025
One-click install
npx skills add https://github.com/mjmmattoni98/recipe-hub --skill i18n-localization-mjmmattoni98
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-localization
Source: https://github.com/mjmmattoni98/recipe-hub/tree/main/.agents/skills/i18n-localization
Command: npx skills add https://github.com/mjmmattoni98/recipe-hub --skill i18n-localization-mjmmattoni98

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps ensure your application is accessible to a global audience by managing internationalization (i18n) and localization (L10n) processes, preventing hardcoded strings and ensuring proper locale handling.

Core Features & Use Cases

  • Detect Hardcoded Strings: Identifies text directly embedded in code that should be translated.
  • Manage Translations: Provides guidance on structuring and maintaining locale files (e.g., JSON, .po).
  • Locale Support: Addresses considerations for different languages, including Right-to-Left (RTL) layouts.
  • Use Case: A web application needs to be translated into Spanish and Arabic. This Skill can help identify all English strings that need translation and ensure the Arabic version correctly handles RTL text direction.

Quick Start

Run the i18n checker script to find hardcoded strings in the project.

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 or Next.js application for internationalization?

Detect hardcoded strings for internationalization by running a Python checker script that scans project code to find text directly embedded in code that should be translated. This automated consistency check identifies English strings needing translation before processing locale files.

What is the best way to manage translation files for multi-language web applications?

Managing translation files for multi-language web applications involves structuring and maintaining locale files like JSON or .po formats. This process ensures proper locale handling and prevents hardcoded strings, keeping translated content consistent across different languages.

Does this internationalization checker support Right-to-Left RTL layouts for languages like Arabic?

Yes, this internationalization checker supports Right-to-Left RTL layouts. It addresses considerations for different languages including Arabic, ensuring the translated version correctly handles RTL text direction alongside standard locale-specific features.

Can I use this localization tool with backend Python code or is it only for frontend frameworks?

You can use this localization tool with backend Python code as well as frontend frameworks. It addresses common i18n challenges in web applications using frameworks like React and Next.js, and also supports backend languages like Python.

What do I need to run the i18n checker script for detecting unlocalized text?

To run the i18n checker script for detecting unlocalized text, you need Python installed as a dependency. The script performs automated checking of code and locale file consistency to identify hardcoded strings requiring translation.

Why does my web app show untranslated English text after setting up locale JSON files?

Your web app shows untranslated English text because hardcoded strings remain embedded directly in the code. Running the i18n checker script identifies these unlocalized strings and ensures code consistency with your locale JSON files for proper translation.