translation-diff-translate

Translate sparse JSON localization patches while preserving placeholders and escape sequences.

25.4k|893|Updated Jun 15, 2021
One-click install
npx skills add https://github.com/Devolutions/UniGetUI --skill translation-diff-translate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: translation-diff-translate
Source: https://github.com/Devolutions/UniGetUI/tree/main/.agents/skills/translation-diff-translate
Command: npx skills add https://github.com/Devolutions/UniGetUI --skill translation-diff-translate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the translation of software localization files, ensuring consistency and preserving critical formatting elements.

Core Features & Use Cases

  • Sparse Translation: Translates only the new or changed strings in a given patch.
  • Terminology Preservation: Reuses existing translations and terminology from reference files.
  • Placeholder Safety: Maintains placeholders, HTML-like fragments, and escape sequences.
  • Use Case: A developer needs to update the French translation for a new feature. This skill helps a translator efficiently update only the new strings, ensuring they match existing terminology and don't break formatting.

Quick Start

Use the translation-diff-translate skill to translate the provided French source patch.

Frequently Asked Questions about translation-diff-translate

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

FAQPage Schema
How do I translate only the new or changed strings in a sparse JSON localization file?

To translate a sparse JSON file for software localization, you can process specific patch files containing only new or changed strings, then merge the translations back into the target language file.

Can I preserve placeholders and escape sequences when translating JSON for i18n?

Yes, translating JSON for i18n can preserve UniGetUI placeholders, HTML-like fragments, and escape sequences, ensuring the localized output maintains critical formatting without breaking the software.

Does software localization translation require PowerShell to manipulate JSON files?

Yes, executing the scripts for software localization translation requires PowerShell, as it handles the necessary JSON manipulation to merge translated patch files into the target language file.

How does terminology preservation work when translating a software localization patch?

Terminology preservation works by reusing existing translations and terminology from reference files, ensuring the newly translated strings in the patch match the vocabulary already established in the project.

What is the best way to update French translations for a new feature without rewriting the entire file?

The best way to update French translations is to use sparse translation, which processes only the new or changed strings in a patch and merges them into the existing target language file.

When should I avoid using sparse JSON translation for internationalization?

You should avoid sparse JSON translation if your source files are not in JSON format or if your localization workflow cannot execute PowerShell scripts for JSON manipulation and patch merging.