translate-locales

Translate changed DApp locale JSON keys into zh, tc, ko, and es.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/OrderlyNetwork/dex-creator --skill translate-locales
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: translate-locales
Source: https://github.com/OrderlyNetwork/dex-creator/tree/main/.cursor/skills/translate-locales
Command: npx skills add https://github.com/OrderlyNetwork/dex-creator --skill translate-locales

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of updating and translating internationalization (i18n) keys for a DApp, ensuring consistent and up-to-date localized content across multiple languages.

Core Features & Use Cases

  • Automated Locale Generation: Exports English locale JSON from i18n modules.
  • Delta Translation: Detects new or changed keys using git diff for efficient translation.
  • Multi-Language Support: Translates content into Simplified Chinese, Traditional Chinese, Korean, and Spanish.
  • Use Case: After adding new features to the DApp that introduce new user-facing text, this skill can be used to generate the necessary translations for all supported languages, ensuring a smooth global user experience.

Quick Start

Use the translate-locales skill to regenerate the English locale JSON and translate any new or changed keys into Chinese, Korean, and Spanish.

Frequently Asked Questions about translate-locales

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate i18n translation for DApp locale JSON files?

This Skill automates DApp locale translation by exporting English JSON, detecting changed keys via git diff, and merging translations back into locale files for Simplified Chinese, Traditional Chinese, Korean, and Spanish.

What is the best way to translate only new i18n keys in a DApp?

Delta translation detects new or changed i18n keys using git diff, comparing your English JSON exports against previous versions so only modified content is processed and merged back into locale files.

How does batching work for large JSON locale translations?

Batching handles large JSON inputs by splitting massive locale files into manageable chunks, preventing processing overflow during translation and ensuring all keys are successfully translated before merging back into locale files.

Can I translate locale JSON files into Korean and Spanish automatically?

Yes, you can automatically translate locale JSON files into Korean and Spanish. The workflow supports Simplified Chinese, Traditional Chinese, Korean, and Spanish by applying a defined prompt to process your i18n keys.

Does this translation workflow require existing git repositories?

Yes, a git repository is required for the translation workflow. The delta translation mechanism relies on git diff to detect exactly which English JSON i18n keys are newly added or changed before translating them.