Skip to content
Development
Skill

/oma-translation

Translate or revise localized UI strings and prose while preserving

From plugin
oma
1.4k33 skills24 agents19 commands4 hooks
+1

Claude Code

$ npx -y skills add first-fluke/oh-my-agent --skill oma-translation --agent claude-code

SKILL.md

oma-translation.SKILL.md
name: oma-translation
description: Translate or revise localized UI strings and prose while preserving
  meaning, terminology, placeholders, and structure.

Translation - Context-Aware Localization

Scheduling

Goal

Translate, review, or adapt multilingual content faithfully and naturally while preserving the parts that must remain exact: placeholders, code, links, formatting, terminology, and file structure.

Intent signature

  • Translate, localize, review a translation, adapt copy, or create a glossary/style guide.
  • Update target-language files after the source changed.

When to use

  • UI strings, error messages, locale files, documentation, reports, marketing copy, and prose.
  • Review of existing translations for accuracy, register, terminology, or naturalness.

When NOT to use

  • i18n infrastructure, locale registration, or key extraction -> use the relevant development skill.
  • Date/pluralization APIs or other code-level localization -> use the owning code-domain skill.

Expected inputs

  • Source text, target language or locale, content type, and requested output mode.
  • Existing locale files, glossary, surrounding context, and optional author sample.
  • Placeholder and formatting constraints when the source is structured.

Expected outputs

  • Natural target-language text or evidence-backed review findings.
  • Exact preservation of placeholders, code spans, links, headings, list structure, and locale keys.
  • Translator notes only for meaningful ambiguity or necessary cultural explanation.

Dependencies

  • Target profile: `resources/lang/{code}.md`, if one exists.
  • `resources/translation-rubric.md` for substantive content or review.
  • Selected external prose-style skills for English and Korean; loading and execution

are defined in `resources/style-skills.md`.

  • Shared prose diagnostics and translation exceptions for other target languages.
  • Existing siblings and glossary when translating into a project.

Control-flow features

  • Branches by UI batch versus prose, profile availability, locale variant, ambiguity, and review mode.
  • Loads only the target profile and references required for the content type.
  • Edits files only when the user asked for file changes.

Structural Flow

Entry

1. Identify source, target locale, content type, and whether this is translate, review, or diff-sync. 2. Preserve exact tokens first: placeholders, code, URLs, keys, and structural markers. 3. Load the target profile if available; read sibling translations when the target is in a project.

Scenes

1. **PREPARE**: Resolve locale, output mode, target audience, and protected syntax. 2. **ACQUIRE**: Read the target profile, relevant siblings, glossary, and source context. Select the substantive prose-style route in the canonical workflow; keep short independent UI strings on the lightweight path. 3. **REASON**: Determine meaning, register, terminology, cultural references, and any ambiguity. Decide whether an idiom should be interpreted, substituted, or retained. 4. **ACT**: Write natural target-language text. Match established project patterns without adding meaning, opinion, or personality. 5. **VERIFY**: Check protected syntax and structure. For substantive text, check meaning, terminology, register, and target-language naturalness against the rubric. 6. **FINALIZE**: Return the requested text, patch, or review with only supported findings.

Transitions

  • A profile exists -> load it; its target-language rules take precedence over shared guidance.
  • A locale variant is required -> resolve it before drafting.
  • No profile exists -> use shared guidance and note that limit once; do not borrow another language's rules.
  • A short independent UI string with established siblings -> use protected-syntax and sibling checks; the full prose review is optional.
  • Long prose, documentation, marketing copy, mixed tables/code, or review mode -> use the rubric.
  • Ambiguous meaning that changes the result -> ask one targeted question or flag the choice.
  • Diff-sync -> modify only source-touched equivalents, located by headings and surrounding context, not line number.

Failure and recovery

| Failure | Recovery | |---|---| | Missing target context | Use the source register and state the assumption, unless the ambiguity changes meaning | | Conflicting literal wording and project convention | Follow the established target convention and explain a material difference | | Placeholder or structure mismatch | Revise before emitting or applying a patch | | Missing profile | Use shared guidance and identify the coverage limit once | | Unclear cultural reference | Add a concise note only when the target audience needs it | | Selected external style skill unavailable | Complete supported translation checks and report the unavailable style pass; do not substitute another language's style skill or claim it ran |

Exit

  • Success: the text is faithful, natural, structurally safe, and checked in proportion to content risk.
  • Partial: unresolved ambiguity, missing context, or an unavailable selected style pass

is stated without inventing an answer or claiming that pass ran.

Language profile loading

Resolve the BCP 47 primary subtag and load one matching profile when present:

| Target | Profile | |---|---| | Korean | `resources/lang/ko.md` | | Japanese | `resources/lang/ja.md` | | Chinese | `resources/lang/zh.md`; resolve the declared variant | | English | `resources/lang/en.md` | | Other | no profile; use shared guidance |

Profiles define typography, register, and target-language checks. Shared guidance explains common risks. A profile wins if they conflict. Add a new profile from `resources/lang/_template.md` only when the task is to extend this skill.

Translation method

1. Read for meaning, intended effect, domain terms, and protected syntax. Identify figurative wording as **interpret**, **substitute**, or **retain**. Do not add a new metaphor or remove an

Read more
@first-fluke
Ships withoma

Ship 400+ commits a day.

1.4k33 skills24 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.4k
Star history of first-fluke/oh-my-agent on GitHub, a chart by star-history.com

Other skills on oma.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about oma-translation.

Which coding agents can use oma-translation?
oma-translation installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.