# translate

The translate skill adds a new UI string to all six Android locale files and prepares translations into five languages. Use it when your app needs another user-facing string.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 1 install · ★ 86 repo stars
- Author: vide
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vide/matedroid/tree/HEAD/.claude/skills/translate/SKILL.md
- Updated: 2026-10-13
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/vide-translate

## What it does

The skill asks for a string key, its English text, and optional translator context. It then prepares Italian, Spanish, Catalan, German, and Simplified Chinese versions and adds the entry to each locale XML file. Keys use `snake_case`, and an XML comment carries context for translators.

For parameterized strings, format markers such as `%1$s` must remain intact. Technical labels like `kWh` stay untranslated. Quantity text uses Android’s `plurals` format, and the skill reminds you to call `stringResource(R.string.xxx)` from Compose. The changes belong in Android resources, so the app code still needs to reference the new resource.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vide/matedroid --skill translate -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/translate/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/translate/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vide/matedroid --skill translate -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/translate/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vide/matedroid --skill translate -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/translate/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vide/matedroid .claude/skills/translate
```

2. **Manually: put the files in place**
- File: `.github/skills/translate/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vide/matedroid --skill translate -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vide/matedroid --path .claude/skills/translate
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/translate/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vide/matedroid --skill translate -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vide/matedroid/tree/HEAD/.claude/skills/translate/SKILL.md

## When to use it
- add a UI string across every locale file
- prepare translations from English into five languages
- keep format markers intact across translated strings
- add translator context next to a resource

## Example prompts
- Add a `settings_title` string with the English text “Settings” and context for translators.
- Translate a distance label containing `%1$d` for every app locale.
- Add a day count with `plurals` and show me how to use it in Compose.

## Similar
- [baoyu-translate](https://affpapa.org/en/nevibecode/skills/baoyu-translate.md) — skill · 26300 installs
- [blog-translate](https://affpapa.org/en/nevibecode/skills/blog-translate.md) — skill · 2500 installs
- [translate-book](https://affpapa.org/en/nevibecode/skills/translate-book.md) — skill · 2100 installs
- [translate-book-parallel](https://affpapa.org/en/nevibecode/skills/translate-book-parallel.md) — skill · 1300 installs
- [translate-pdf](https://affpapa.org/en/nevibecode/skills/translate-pdf.md) — skill · 1200 installs
- [translate-to-quarto](https://affpapa.org/en/nevibecode/skills/translate-to-quarto.md) — skill · ★ 1729 repo stars

## Other versions with the same name
- [translate · feiskyer](https://affpapa.org/en/nevibecode/skills/feiskyer-translate.md) — 294 installs
- [translate · ai-driven-dev](https://affpapa.org/en/nevibecode/skills/translate.md) — ★ 571 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
