translation-localization

Translates bulk JSON, PO, and properties locale files while preserving structure.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/KILWA73/MiniSoc --skill translation-localization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: translation-localization
Source: https://github.com/KILWA73/MiniSoc/tree/main/.agents/skills/translation-localization
Command: npx skills add https://github.com/KILWA73/MiniSoc --skill translation-localization

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Translating bulk text for software UI, managing localization resources across JSON, PO, and properties formats, and extracting translatable strings from code to accelerate internationalization workflows.

Core Features & Use Cases

  • Translate bulk text files (JSON, PO, properties) while preserving keys and structure.
  • Handle pluralization rules and gender variations across locales.
  • Extract translatable strings from source code to create/update locale templates.
  • Generate locale files (e.g., fr.json) and compare diffs with existing translations using the included tools.

Quick Start

Provide an English locale file (en.json) and request a French translation.

Frequently Asked Questions about translation-localization

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

FAQPage Schema
How do I translate bulk JSON locale files while preserving keys and structure?

The tool handles PO file translation by maintaining gettext entry structure and applying batch translations. It processes pluralization rules and gender variations across locales while preserving msgid and msgstr formatting.

Can I extract translatable strings directly from source code to create locale templates?

Yes, string extraction from source code is supported to create or update locale templates. The included scripts extract translatable strings and compare diffs with existing translations to update locale files automatically.

Does this localization tool handle pluralization rules and gender variations across different locales?

You provide an English locale file such as en.json and request a target language translation. The tool then generates the corresponding locale file, like fr.json, while preserving the original keys and structural hierarchy.

What is the best way to compare diffs between existing locale files and new translations?

The best way to compare locale diffs is using the included scripts/locale_tools.py. It analyzes existing locale files against new translations to identify missing strings and update resources efficiently.

Do I need specific dependencies to manage i18n properties files and generate locale resources?

No specific dependencies are required to manage i18n properties files and generate locale resources. The skill operates standalone with included scripts and reference guidelines for format handling and string extraction.