i18n es en react vue

    1

    Internationalize React and Vue apps with native es-ES/English copy, ICU plurals, and automated locale diffing.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    i18n es en react vue

    Example session with this skill installed

    Internationalize this React component for es-ES and en-US using react-i18next: <button onClick={save}>Save Changes</button>. Use the 'common' namespace.

    • Read your context and instructions
    • Compiled the i18n es en

    The component has been updated to use react-i18next with semantic keys. Hardcoded strings were extracted into the common namespace, including appropriate Spanish plurals.

    Code changes

    import React from 'react';
    import { useTranslation } from 'react-i18next';
    
    export const SaveButton = ({ save }) => {
      const { t } = useTranslation('common');
    
      return (
        <button onClick={save}>
          {t('actions.save_changes')}
        </button>
      );
    };
    

    Locale files

    public/locales/en/common.json

    {
      "actions": {
        "save_changes": "Save Changes"
      }
    }
    

    public/locales/es/common.json

    {
      "actions": {
        "save_changes": "Guardar cambios"
      }
    }
    

    Validation

    • Plurals Check: No plural forms required for these keys.
    • Placeholder Check: No placeholders detected.
    • Glossary Check: Used "Guardar" for "Save" per es-ES style guide (sentence case).
    • Script Status: Manual verification performed as no file system access was provided for locale_diff.py.

    Next steps

    1. Add the new keys to your main translation files if using multiple namespaces.
    2. Verify that the i18n.js configuration includes common in the ns array.
    3. Run python3 scripts/find_hardcoded.py src/ to ensure no other strings remain in this directory.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Hardcoded strings and broken plural logic create fragile, unprofessional interfaces. This skill automates the internationalization of React and Vue applications for Spanish (es-ES) and English markets. It ensures UI copy sounds native to Spain while maintaining strict technical parity between locale files.

    What it does

    • Extract strings identifies hardcoded text in components, toasts, and metadata using specialized scripts.
    • Implement libraries converts raw text into i18next, next-intl, vue-i18n, or @nuxtjs/i18n patterns.
    • Fix Spanish plurals implements the essential _many category for Spanish in i18next to prevent raw key leaks.
    • Apply localization formats numbers, dates, and currencies using Intl standards and ICU message syntax.
    • Audit locales runs a Python-based diff to find missing keys, untranslated values, or mismatched placeholders.

    How it works

    1. Analyze stack by reading package.json to detect the framework, i18n library version, and project tone.
    2. Inventory text using find_hardcoded.py to map all user-visible strings including aria-labels and placeholders.
    3. Refactor code to replace strings with semantic keys and proper interpolation helpers.
    4. Generate JSON providing synchronized es.json and en.json files with consistent key ordering.
    5. Validate output using locale_diff.py to catch syntax errors or missing plural forms before deployment.

    Frameworks & tools

    Supports React, Next.js (App and Pages Router), Vue, and Nuxt. Compatible with react-i18next, next-intl, vue-i18n, and @nuxtjs/i18n. Uses Python for extraction and validation scripts.

    Why this beats prompting it yourself

    Generic prompts often miss the specific Spanish _many plural requirement which causes runtime errors. This tool uses a pre-written glossary to ensure "tú" vs "usted" consistency and includes scripts that physically diff your locale files to guarantee zero missing keys.

    Use cases

    • Adding English/Spanish support to an existing hardcoded React or Vue codebase.
    • Fixing broken ICU plural rules and missing "other" categories in locale files.
    • Refactoring Next.js server components to use getTranslations correctly.
    • Synchronizing large JSON locale folders after a feature release.

    Known limitations

    Does not perform legal, medical, or financial adaptation of meaning. Requires a Python environment to run the included validation and extraction scripts.

    Requires Python 3 for scripts. Glossary limited to es-ES and English. Does not adapt legal or medical meaning. Direct package installation requires user permission.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 13 days ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed13 days ago

    What's inside

    Frequently Asked Questions

    This skill identifies hardcoded text, refactors components to use frameworks like i18next or vue-i18n, and generates synchronized Spanish (es-ES) and English JSON files with correct ICU plural logic.

    The skill supports React (including Next.js App/Pages Router) and Vue (including Nuxt). It is compatible with major libraries such as react-i18next, next-intl, and vue-i18n.

    Unlike generic AI prompts, this skill uses specialized Python scripts to perform a strict technical diff between locale files, ensuring zero missing keys and correct Spanish-specific plural categories like '_many'.

    You receive the core AI agent logic for code refactoring, a pre-defined Spanish/English glossary for tone consistency, and two proprietary Python scripts (`find_hardcoded.py` and `locale_diff.py`) for extraction and validation.

    The skill focuses on UI copy and technical implementation; it does not provide specialized legal, medical, or financial translation, and it requires a Python environment to run the included automation scripts.

    New in Frontend & Web Apps