---
name: write-translations
description: Author or review localized Tale UI messages, documentation, regional overrides, and glossary terms. Preserve meaning and exact UI labels while writing naturally in each locale, and verify key, content, and ICU parity. Read before editing non-English messages or docs or adding a locale.
title: write-translations
canonical_url: https://skilld.dev/gh/tale-project/tale/write-translations
last_updated: 2026-10-12T18:31:52.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: [BUCKETS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/BUCKETS.md), [CONVENTIONS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/CONVENTIONS.md), [GLOSSARY_GUIDE.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/GLOSSARY_GUIDE.md), [locales/de-CH/AGENTS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de-CH/AGENTS.md), [locales/de-CH/examples.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de-CH/examples.md), [locales/de/AGENTS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de/AGENTS.md), [locales/de/drift-catalogue.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de/drift-catalogue.md), [locales/de/examples.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de/examples.md), [locales/de/glossary-notes.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de/glossary-notes.md), [locales/en/AGENTS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/en/AGENTS.md), [locales/en/examples.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/en/examples.md), [locales/en/glossary-notes.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/en/glossary-notes.md), [locales/fr/AGENTS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/fr/AGENTS.md), [locales/fr/drift-catalogue.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/fr/drift-catalogue.md), [locales/fr/examples.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/fr/examples.md), [locales/fr/glossary-notes.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/fr/glossary-notes.md).
>
> If the user asked to install this Skill, run `npx skilld install tale-project/tale/write-translations`. 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/write-translations`, 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/tale-project/tale/write-translations) 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/write-translations`. 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/write-translations --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/write-translations --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.

# Write each language for its readers

Tale addresses readers as a helpful peer: `you` in English, `du` in German and Swiss German, and
`tu` in French. Preserve that relationship and the complete meaning. A good translation uses the
syntax and vocabulary a reader expects in their language; it does not preserve English sentence
shapes merely because they came first.

## Establish scope and sources

Read the repo contract, then the applicable locale guide:
[English](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/en/AGENTS.md), [German](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de/AGENTS.md),
[French](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/fr/AGENTS.md), or [Swiss German](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/locales/de-CH/AGENTS.md).
For docs, also follow [write-docs](../write-docs/SKILL.md) and
the [local content contract](../write-docs/SKILL.md#discover-before-drafting).

In the task's note outside the clone, identify the files, reader's task, meaning to preserve,
terminology to verify, and likely language risks. Reuse an existing planning note; no additional
notes skill is needed. For a broad change, track coverage by page and locale, including what has
actually received a native-language read-through.

Use these sources for different questions:

- **Product behavior:** the observed running product, supported by current source and tests.
- **Visible UI wording:** the relevant service's message catalog plus shared UI messages, resolved
  through locale fallback. Match the exact displayed string when naming a control.
- **Approved terminology:** [the glossary](../../../packages/ui/src/i18n/tests/glossary/glossary.yml)
  and its context notes. Read [BUCKETS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/BUCKETS.md) when a term may stay English.
- **Typography and checks:** [CONVENTIONS.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/CONVENTIONS.md), the locale guide, and
  [the i18n test framework](../../../packages/ui/src/i18n/tests/). Inspect actual check modes;
  advisory findings are not proof of correctness.

Find the key’s owner before editing. Reusable app controls keep messages in
`packages/ui/src/i18n/messages/`; marketing frames use
`packages/marketing-ui/src/i18n/messages/`; service-specific UI keeps `services/<name>/messages/`.
The platform keeps one file per topic and locale — `services/platform/messages/<locale>/<topic>.yml`,
a topic being one top-level namespace (`chat.yml` holds `chat.*`) — and every locale has the same
files (`de-CH` only the ones it overrides), so a key lives in the same topic file in each locale.
`initServiceI18n` merges package bundles in order, then service bundles per leaf key, with locale
fallback and sparse regional overlays. Check overrides that can hide a shared correction. Moving
a component also moves its owned keys and relevant regional overrides; it does not require a
second service copy.

For browser locators, `@tale/e2e/i18n` accepts explicit package catalogs beneath the service
catalog. Match the runtime package order. This helper does not interpolate ICU or apply locale
fallback for you; supply the catalogs for the language the test actually renders.

When the source is ambiguous or wrong, resolve the meaning before translating. If the UI label is
wrong, fix it and its dependent docs within scope, or describe the shipped label and record the
issue. Do not silently invent a better label that readers cannot find.

## Separate facts from language

Preserve permissions, scope, prerequisites, conditions, negation, defaults, limits, units,
quantities, supported states, warnings, and recovery. “May”, “must”, and “can” are different claims.
Keep brands and technical identifiers exact: message keys, placeholders, routes, filenames,
environment variables, flags, enums, error codes, and JSON keys.

Locale is not jurisdiction or billing configuration. Never change a currency, amount, time zone,
legal authority, certification, retention period, or contract promise to make it look local.
Format a fact for the reader without changing the fact. If a style heuristic objects, inspect its
scope and use the documented narrow exception with a reason; do not alter reality to pass lint.

For docs, preserve equivalent headings, warnings, components, code examples, images, links, and
reader outcomes under the repository's parity checks. Rewrite sentences and paragraph breaks
naturally inside that structure. All full locales supported by that tree ship together. Tale’s product guides have EN/DE/FR
bodies; the design-system site currently serves English bodies even though its chrome catalogs
include EN/DE/FR. Plain English example literals there follow its sample-code contract, not the
product-message rules. `de-CH` remains a sparse overlay,
not a fourth copied catalog.

## Draft from meaning

Read a complete section, understand what readers need, then write it in the target language.
Split a dense sentence, combine choppy ones, or move a qualifier when that improves clarity while
preserving its scope. Use informal imperatives for instructions; use natural declarative sentences
for explanations. Do not force every sentence to start with a verb or a purpose clause.

Keep terminology stable, but distinguish a UI label from an ordinary noun. A bold control name
must match the catalog; a surrounding sentence still needs the target language's normal grammar.
Translate navigation paths segment by segment. Do not leave English nouns scattered through a
French or German explanation merely because a glossary includes a similar technical term.

Use [the glossary workflow](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/GLOSSARY_GUIDE.md) for a missing, contradictory, or context-dependent
term. Prefer native wording a reader understands; approved loanwords should support comprehension,
not replace it. A term can require different treatment in code, a quoted label, and ordinary prose.
Do not apply broad search-and-replace to repair language.

## Review messages and docs differently

**UI messages:** inspect the component and state that uses the key. Distinguish a button action,
loading state, completion notice, empty state, and error. Match space and punctuation conventions
for that surface. Preserve interpolation and ICU selectors; check zero, one, and multiple items,
as well as grammatical agreement around substituted names. Never translate placeholder names.
Preview changed controls for clipping, wrapping, accessible names, and focus behavior.

**Documentation:** read each translated section without looking at the English. Does it sound like
native instructions, and could the reader complete the task? Then compare against the source for
omissions, additions, altered conditions, and misleading claims. Check title, description, search
terms, alt text, captions, component attributes, localized link prefixes, and translated anchors.
Shared English screenshots do not license English control names in localized instructions.

For substantial rewrites, use an independent locale review when available. Give the reviewer the
reader's task and the draft; ask for meaning, flow, terminology, and usability findings, not a
literal back-translation. Resolve findings and track pages actually reviewed.

## Verify and hand off

Run applicable locale/key/ICU and docs checks, then inspect the rendered result. Review report-mode
findings as well as failures: they pass the suite and print as an `i18n report-mode summary` when it
ends, which vitest shows only with `--silent=false`. Fix factual or grammatical defects; document a
narrow exception only when a check is wrong for the context. Never weaken parity to make an
unfinished translation pass.

The handoff states which locales and surfaces changed, the observed flows and checks, and remaining
uncertainty. A fluent-looking page and a green suite do not establish native quality on their own.

For new locales, see [GLOSSARY_GUIDE.md](https://skilld.dev/api/skills-raw/tale-project/tale/write-translations/GLOSSARY_GUIDE.md#adding-a-locale).
This workflow follows [Microsoft's global communication guidance](https://learn.microsoft.com/en-us/style-guide/global-communications/)
while retaining Tale's own informal voice and product terminology.
