---
name: translation-review
description: Reviews UniGetUI .json language files for localization quality, detects parity issues, English-equal entries, wrong-script content, and cross-language outliers, then generates a dataset for LLM-assisted linguistic review. Use when the user asks to review translations, audit localization, inspect i18n or l10n quality, or validate language files.
title: translation-review
canonical_url: https://skilld.dev/gh/devolutions/unigetui/translation-review
last_updated: 2026-11-14T03:45:32.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [scripts/review-translation-json.ps1](https://skilld.dev/api/skills-raw/devolutions/unigetui/translation-review/scripts/review-translation-json.ps1).
>
> If the user asked to install this Skill, run `npx skilld install devolutions/unigetui/translation-review`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/translation-review`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/devolutions/unigetui/translation-review) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/translation-review`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/translation-review --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/translation-review --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# translation review

Use this skill when you need a quality review of an existing UniGetUI translation, not just coverage, but correctness, language integrity, and consistency against related languages.

Typical triggers: review translations, check translation quality, mistranslations, wrong language in translation, untranslated strings, localization QA, translation audit, spot-check a language file.

## Scope

- Mechanically detect placeholder, HTML-fragment, and newline mismatches.
- Flag entries whose translation still equals the English source in a non-English language file.
- Detect wrong-script entries for non-Latin languages such as `ua`, `zh_CN`, `ar`, `ko`, `ja`, and `he`.
- Build a cross-language comparison table so the reviewing agent can identify outliers, suspicious wording, and wrong-language content.
- The agent performs the final linguistic review using the generated report.

## Prerequisites

- PowerShell 7 (`pwsh`).

## Scripts

- `scripts/review-translation-json.ps1`: Generate the review dataset for one UniGetUI language JSON file.

## Workflow

1. Generate the review dataset for the target language.
2. Confirm the output file exists and contains the expected flagged sections or JSON fields.
3. If the script fails or the output is empty, validate the target JSON with `pwsh ./scripts/translation/Verify-Translations.ps1` and rerun the review.
4. Read the flagged sections first: parity issues, English-equal entries, and wrong-script entries.
5. Spot-check the cross-language comparison table, focusing on labels, buttons, settings text, and error messages.
6. Report findings inline with the English source text, observed problem, and suggested correction.

## Usage

Generate a Markdown review report for French:

```powershell
pwsh ./.agents/skills/translation-review/scripts/review-translation-json.ps1 \
  -TargetJson ./src/Languages/lang_fr.json \
  -Language fr
```

Generate a report for Ukrainian and include script-detection checks:

```powershell
pwsh ./.agents/skills/translation-review/scripts/review-translation-json.ps1 \
  -TargetJson ./src/Languages/lang_ua.json \
  -Language ua
```

Generate a flagged-only JSON report with no cross-language table:

```powershell
pwsh ./.agents/skills/translation-review/scripts/review-translation-json.ps1 \
  -TargetJson ./src/Languages/lang_de.json \
  -Language de \
  -OutputFormat Json \
  -FlaggedOnly
```

Optional parameters:

- `-NeutralJson` — defaults to `src/Languages/lang_en.json`
- `-ComparisonLanguages` — languages to include in the comparison table; defaults to other checked-in `lang_*.json` files
- `-OutputPath` — defaults to `generated/translation-review/review.<lang>.md`
- `-OutputFormat` — `Markdown` (default) or `Json`
- `-FlaggedOnly` — skip the full cross-language table and emit only mechanically flagged entries

## Output

The Markdown report is structured as:

1. Summary
2. Parity Issues
3. English-Equal Entries
4. Wrong Script
5. Cross-Language Comparison

Default output path: `generated/translation-review/review.<lang>.md`

## Agent Review Guidelines

### Flagged sections

- Parity issues: confirm whether the placeholder, tag, or newline mismatch is a genuine error or an acceptable localized variant.
- English-equal entries: decide whether the English value is an acceptable technical or brand string, or whether it should be translated.
- Wrong script: almost always an error for non-Latin languages. Verify against comparison languages and flag for re-translation when confirmed.

### Cross-language comparison table

- Sample at least 20–30 rows and prefer entries that look like UI labels, buttons, dialogs, settings descriptions, or error messages.
- Look for wrong language, suspiciously different meaning, missing words, or copied English that should probably be translated.
- Ignore obvious brand names and technical identifiers.

### Output format for findings

Report each issue in this format:

```text
**Source**: `Some English source text`
**Problem**: [describe the issue]
**Current value**: [the problematic translation]
**Suggested correction**: [corrected value, if confident]
**Confidence**: High / Medium / Low
```

Group findings by type: parity, English-equal, wrong language, wrong script, or other.

## Integration with Other Skills

- Use [translation-status](../translation-status/SKILL.md) first if you need a coverage snapshot before reviewing quality.
- Use [translation-diff-export](../translation-diff-export/SKILL.md) to produce a sparse patch for entries that need re-translation after review.
- Use [translation-diff-import](../translation-diff-import/SKILL.md) to merge corrected entries back into the full language file.