# ios-localization

Guides localization work for iOS and macOS apps, from String Catalogs and plural forms to locale formatting and RTL layouts.

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

## What it does

This skill guides localization and internationalization work for iOS and macOS with String Catalogs in `.xcstrings`. It covers Xcode string extraction, stable keys, plural forms, `LocalizedStringKey`, `LocalizedStringResource`, and `String(localized:)`.

It distinguishes implicit SwiftUI localization from cases where services or errors need a resolved `String`. It also covers `FormatStyle` for numbers, dates, currencies, and measurements, plus RTL layout and Dynamic Type.

Generated symbols in Xcode 26 sit on top of String Catalogs but are `internal`. That matters in a multi-module project: cross-module use needs a public wrapper extension.

## Install

### Claude Code (native platform)

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

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill ios-localization -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dpearson2699/swift-ios-skills --skill ios-localization -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dpearson2699/swift-ios-skills ios-localization
```

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

### Gemini CLI

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

2. **Platform CLI**
```bash
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/ios-localization
```

### Windsurf (Devin Desktop)

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

### OpenCode

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

## When to use it
- add a `.xcstrings` String Catalog to an app
- choose a localized string type for SwiftUI or services
- create stable keys for generated Swift symbols
- handle plural forms and interpolated values
- review layouts for RTL languages and Dynamic Type

## Example prompts
- "Add localization for the settings screen with String Catalogs in `.xcstrings`."
- "Review this SwiftUI code and decide where to use `LocalizedStringKey` or `String(localized:)`."
- "Create pluralized counter strings with locale-aware date formatting."

## Similar
- [cmux-localization](https://affpapa.org/en/nevibecode/skills/cmux-localization.md) — skill · 4700 installs
- [developing-ios-apps](https://affpapa.org/en/nevibecode/skills/developing-ios-apps.md) — skill · 1500 installs
- [localization-design](https://affpapa.org/en/nevibecode/skills/localization-design.md) — skill · 1700 installs
- [i18n-localization](https://affpapa.org/en/nevibecode/skills/i18n-localization.md) — skill · 251 installs
- [asc-subscription-localization](https://affpapa.org/en/nevibecode/skills/asc-subscription-localization.md) — skill · 6800 installs
- [ios-development](https://affpapa.org/en/nevibecode/skills/ios-development.md) — skill · 821 installs

From the same set: [dpearson2699/swift-ios-skills](https://affpapa.org/en/nevibecode/by/dpearson2699/swift-ios-skills.md) — 69 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
