More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    LocForge Extract: Make React, Next.js or Vue Translateable

    1

    Automate i18n extraction for React, Next.js, and Vue by moving hardcoded strings into en.json files.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    LocForge Extract: Make React, Next.js or Vue Translateable

    LocForge Extract: Make React, Next.js or Vue Translateable

    Example session with this skill installed

    Extract the hardcoded strings from src/components/LoginForm.tsx and update en.json. We are using Next.js with next-intl.

    • Read your context and instructions
    • Compiled the locforge extract
    • Generated the UI component

    I have scanned src/components/LoginForm.tsx, extracted the user-facing strings, and synced them with your translation file.

    I18n Extraction Report

    FileTypeKeyOriginal Text
    src/components/LoginForm.tsxLabellogin.form.email_labelEmail Address
    src/components/LoginForm.tsxPlaceholderlogin.form.email_placeholderEnter your email
    src/components/LoginForm.tsxButtonlogin.form.submit_buttonSign In
    src/components/LoginForm.tsxAria-Labellogin.form.close_ariaClose modal
    // src/components/LoginForm.tsx refactored
    import { useTranslations } from 'next-intl';
    
    export default function LoginForm() {
      const t = useTranslations('login.form');
    
      return (
        <form>
          <label>{t('email_label')}</label>
          <input placeholder={t('email_placeholder')} aria-label={t('close_aria')} />
          <button type="submit">{t('submit_button')}</button>
        </form>
      );
    }
    
    // messages/en.json updated
    {
      "login": {
        "form": {
          "email_label": "Email Address",
          "email_placeholder": "Enter your email",
          "submit_button": "Sign In",
          "close_aria": "Close modal"
        }
      }
    }
    

    Next steps

    1. Run python scripts/i18n_check.py src messages/en.json to verify no strings were missed.
    2. To translate en.json, use LocForge: Translate messages/en.json into Spanish.

    LoginForm.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

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

    About this skill

    Hardcoded strings in UI components make internationalization an expensive manual chore. This skill automates the extraction of user-facing text from React, Next.js, and Vue applications into structured translation files.

    What it does

    • String extraction scans JSX and Vue templates to find hardcoded text, placeholders, alt text, and aria-labels.
    • Code refactoring replaces raw strings with t('key') calls following framework-specific patterns.
    • Translation mapping generates or updates en.json files while maintaining consistent key-naming conventions.
    • Environment setup configures react-i18next, next-intl, or vue-i18n for projects starting from scratch.
    • Quality auditing identifies missing keys, unused translations, and placeholder mismatches using integrated Python scripts.

    How it works

    1. Analyze stack identifies the framework by reading package.json and loads the corresponding implementation reference.
    2. Scan components executes scan.py to draft a list of candidate strings for extraction.
    3. Refactor source replaces validated user-facing strings with translation hooks and updates imports.
    4. Sync JSON writes the extracted values to the local translation file, ensuring sentences are not fragmented.
    5. Verify runs i18n_check.py to confirm no hardcoded leftovers remain and that all keys match.

    Frameworks & tools

    Specifically built for React, Next.js, Nuxt, and Vue. Supports react-i18next, next-intl, and vue-i18n. Requires Python 3.8+ for scanning scripts.

    Why this beats prompting it yourself

    Generic prompts often fragment sentences into multiple keys or miss hidden strings like aria-label and placeholder. This skill uses specialized scripts to ensure 1:1 sentence mapping and follows strict framework references to avoid breaking your component logic.

    Use cases

    • I18n preparation for shipping a React app to its first non-English market.
    • Legacy cleanup to pull hardcoded strings out of old Vue components into a central JSON file.
    • Audit existing apps to find missing translation keys or unused strings in en.json.
    • Consistency enforcement to ensure all developers use the same key-naming pattern across a Next.js project.

    Known limitations

    Supports only React, Next.js, and Vue. Requires Python 3.8+ for scanning logic. Does not automatically translate text; only extracts and prepares it.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Tested in: Claude Code, on a React + Vite app, a Vue 3 app and a Next.js App Router app; all three still build and render after extraction.

    Review the diff before you commit. The scanner is a heuristic; the agent catches what it misses by reading each file it edits, and the report lists every line it was unsure of.

    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 buying a skill.

    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 17 days ago

    Software
    tscNode.jsnuxiGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed17 days ago

    What's inside

    Frequently Asked Questions

    locforge extract automates the tedious process of finding hardcoded text in your code, replacing it with translation hooks like t('key'), and automatically generating the corresponding en.json files.

    The skill is specifically optimized for React, Next.js, and Vue frameworks, supporting popular libraries like react-i18next, next-intl, and vue-i18n. It requires Python 3.8+ on your system to run the underlying scanning and verification scripts.

    Unlike generic prompts, this skill uses specialized Python logic to ensure sentences aren't fragmented and captures 'hidden' strings like aria-labels and placeholders that standard AI scans often miss.

    No, this skill focuses on extraction and code refactoring; it moves your English strings into a structured JSON format but does not perform machine translation into other languages.

    You receive the full agent skill configuration, including the specialized scan.py and i18n_check.py scripts, which you can use across multiple React, Next.js, or Vue projects.

    New in Frontend & Web Apps