More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Loc Translate — Safe Game-Mod & App Translation

    1

    Safely translate game and app localization files using token protection and automated verification.

    Free

    Security scanned
    Loc Translate — Safe Game-Mod & App Translation

    Loc Translate — Safe Game-Mod & App Translation

    Example session with this skill installed

    Translate l10n/work/batch-01.json into Spanish. Use the smapi profile for Stardew mod compatibility. Preserve all placeholders.

    • Read your context and instructions
    • Compiled the loc translate

    I have translated 40 items from batch-01.json into Spanish. All ⟦n⟧ placeholders were verified and preserved to ensure the mod scripts do not crash. Character voices for Javi and Robin were kept consistent using the provided speaker context.

    Translation Batch: batch-01.out.json

    {
      "Strings\\StringsFromMaps.cs.1010": "¡Hola ⟦0⟧! ¿Has visto a ⟦1⟧ hoy?",
      "Strings\\StringsFromMaps.cs.1012": "Me pregunto si ⟦0⟧ tiene alguna ⟦1⟧ en su tienda.",
      "Data\\Events\\Farm.json.1": "Realmente aprecio tu ayuda, ⟦0⟧. #$b#¡Esta granja se ve genial!",
      "Data\\Events\\Farm.json.2": "$h ⟦0⟧, ¡qué sorpresa verte aquí!",
      "UI\\Button_Submit": "Enviar",
      "UI\\Tooltip_Save": "Guardar progreso (⟦0⟧)",
      "Characters\\Dialogue\\Javi.001": "No puedo creer que ⟦0⟧ haya olvidado la ⟦1⟧ de nuevo. @, ¿qué piensas?",
      "Characters\\Dialogue\\Robin.001": "La carpintería es un trabajo duro, pero ⟦0⟧ lo hace más fácil."
    }
    

    Next steps

    1. Run python3 scripts/loctx.py apply to verify these translations and write them to i18n/es.json.
    2. Check batch-01-retry.json for any strings rejected due to placeholder mismatches.
    3. Use loc-qa to generate a report on character limits and glyph compatibility for the Stardew font.
    batch-01.out.json

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

    About this skill

    Localization is a high-risk task where a single missing bracket or reordered token can crash a game or break a web app. Manual translation often destroys original file formatting, strips translator comments, or misses context-sensitive variables. This skill provides a structured, fail-safe pipeline for translating game mods and application locale files without compromising technical integrity.

    What it does

    • Token protection replaces complex variables like {{name}}, {{0}}, and dialogue commands with numbered placeholders to prevent corruption.
    • Batch processing handles translation in manageable chunks while maintaining consistent character voice and terminology.
    • Glossary enforcement automatically applies pre-defined terms and identifies inconsistencies for manual review.
    • Context-aware translation provides previous/next string context and speaker identification to ensure accuracy.
    • Non-destructive writing applies translations back to target files while preserving original comments, key order, and indentation.

    How it works

    1. Initialize the project to detect layouts and create a configuration that defines token patterns and target paths.
    2. Prepare batches of untranslated or updated strings, extracting source text and metadata into temporary work files.
    3. Translate items by mapping the source text to the target language, strictly maintaining the position and format of all placeholders.
    4. Apply translations using the verification script to validate tokens and write them safely into the localized files.

    Frameworks & tools

    Specifically built for SMAPI (Stardew Valley) i18n, Content Patcher, and standard JSON/JSONC locale files. It uses a Python-based utility loctx.py for scanning, tokenization, and safe-apply operations.

    Why this beats prompting it yourself

    Prompting a raw JSON file usually results in the LLM hallucinating bracket placements or omitting "boring" technical tokens, leading to broken builds. This skill locks variables behind sacred placeholders that the script validates before any file is ever modified.

    Use cases

    • Translating a large Stardew Valley mod while preserving complex dialogue commands and narration tags.
    • Localizing a web application's locale folder into multiple languages without breaking HTML entities or string interpolation.
    • Updating an existing translation where new keys were added in the latest version of the source software.
    • Enforcing a unified glossary across thousands of keys to maintain brand or game-world consistency.

    Known limitations

    Requires Python 3 to run the included helper scripts. It is designed for structured JSON/i18n files and will not work on raw source code or unstructured text documents.

    Requires Python 3 for the helper script. Optimized for JSON/i18n formats; does not support raw PO/MO or unstructured text. Placeholder order must be strictly maintained for dialogue safety.

    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

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 21 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed21 days ago

    What's inside

    Frequently Asked Questions

    Standard AI prompts often "break" code by deleting brackets or altering variables; this skill uses a specialized Python utility to shield technical tokens behind placeholders, ensuring your files remain functional and crash-free.

    The skill is optimized for JSON and JSONC formats, including SMAPI (Stardew Valley) i18n files, Content Patcher, and standard web application locale folders.

    You will receive the AI agent configuration, the `loctx.py` Python utility for token protection, and a setup guide to initialize your localization project.

    Yes, the skill includes a 'Prepare' step that scans for new or updated keys, allowing you to translate only what has changed without overwriting your existing progress.

    To use the automated verification and tokenization features, you will need Python 3 installed on your machine to run the included helper scripts.

    New in Translation & Localization