# localization

Configures the Unity Localization package in your project. It sets up String and Asset Tables, configures locales, and binds text to UI components.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 5500 installs · ★ 1149
- Author: Unity-Technologies
- License: LicenseRef-Unknown · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Unity-Technologies/skills/tree/HEAD/skills/localization/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/localization

## What it does

The skill manages the setup of `com.unity.localization` by checking `Packages/packages-lock.json` directly. This avoids waiting on asynchronous Package Manager calls. Once verified, it locates or generates `LocalizationSettings`, registers target locales, and populates String and Asset Tables safely.

Asset searches stay scoped strictly to the `Assets` directory. That prevents editor scripts from picking up read-only assets bundled inside packages. When importing data arrays, entries match explicitly by `Locale.Identifier.Code`. Relying on array positions causes silent translation mismatches because the order of returned locales is not guaranteed.

UI bindings connect through public `LocalizeStringEvent` components wired to `TMP_Text` or standard Text fields. Reaching into internal classes like `LocalizeComponent_TMPro` via reflection is forbidden because internal APIs break when the package updates. Runtime language switching relies strictly on `LocalizationSettings.SelectedLocale` instead of custom state variables.

## Requirements
- Works with: Unity

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill localization -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill localization -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill localization -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Unity-Technologies/skills localization
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill localization -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Unity-Technologies/skills --path skills/localization
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Unity-Technologies/skills --skill localization -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/Unity-Technologies/skills/tree/HEAD/skills/localization/SKILL.md

## When to use it
- verify and set up the com.unity.localization package
- generate String and Asset Tables matching locale codes
- bind UI text to TextMeshPro using LocalizeStringEvent
- manage runtime language switching via SelectedLocale

## Example prompts
- Check if com.unity.localization is installed and add German and French locales
- Create a string table for the UI and wire it to TextMeshPro
- Configure runtime language switching and set up CJK font tables

## Similar
- [roblox-localization](https://affpapa.org/en/nevibecode/skills/roblox-localization.md) — skill · 1600 installs
- [flutter-setup-localization](https://affpapa.org/en/nevibecode/skills/flutter-setup-localization.md) — skill · 36800 installs
- [cmux-localization](https://affpapa.org/en/nevibecode/skills/cmux-localization.md) — skill · 4700 installs
- [localization-strategy](https://affpapa.org/en/nevibecode/skills/localization-strategy.md) — skill · 1100 installs
- [i18n-localization](https://affpapa.org/en/nevibecode/skills/i18n-localization.md) — skill · 251 installs
- [unity-csharp-scripting](https://affpapa.org/en/nevibecode/skills/unity-csharp-scripting.md) — skill · 5900 installs

## Other versions with the same name
- [localization · appeeky](https://affpapa.org/en/nevibecode/skills/appeeky-localization.md) — 3400 installs

From the same set: [unity-technologies/skills](https://affpapa.org/en/nevibecode/by/unity-technologies/skills.md) — 31 cards

---
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
