i18n-localization

Audit React, Vue, and Python codebases for hardcoded strings and missing translations.

Updated Aug 30, 2024
One-click install
npx skills add https://github.com/jfrometa/esquizo --skill i18n-localization-jfrometa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: i18n-localization
Source: https://github.com/jfrometa/esquizo/tree/main/.agent/skills/i18n-localization
Command: npx skills add https://github.com/jfrometa/esquizo --skill i18n-localization-jfrometa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps teams identify hardcoded strings and missing translations across codebases, enabling consistent internationalization.

Core Features & Use Cases

  • Detects hardcoded strings in React, Vue, and Python code.
  • Compares locale files to surface missing or extra keys across languages.
  • RTL readiness guidance to ensure locale-specific formatting.

Quick Start

Run the i18n-localization check against your repository to surface strings that need translation and identify gaps in your locale files. For example: python scripts/i18n_checker.py <project_path>

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 React and Vue projects?

To detect hardcoded strings in React and Vue projects, run a localization audit using the i18n checker script. This tool scans the codebase to identify untranslated text, ensuring strings are properly extracted for internationalization.

Can I use this to find missing translations in Python locale files?

Yes, you can find missing translations in Python locale files by running the internationalization checker. It compares locale JSON files across languages to surface missing or extra keys, reporting inconsistencies to ensure consistent localization.

How do I check if my codebase is ready for RTL localization?

To check if your codebase is ready for RTL localization, run the i18n audit script against your repository. It detects hardcoded strings and provides RTL readiness guidance to ensure proper locale-specific formatting.

What is the best way to compare locale files for missing translation keys?

The best way to compare locale files for missing translation keys is to execute the i18n checker. It directly compares locale JSON files to identify missing or extra keys across different languages, reporting any gaps in your translations.

Does the i18n checker work with both React and Python?

Yes, the internationalization checker works with React, Vue, and Python projects. It audits these codebases to detect hardcoded strings and identifies missing translations by comparing locale files to report inconsistencies.