Android Localization

Expert guidance on Android localization, res/values-*, string plurals, ICU MessageFormat, RTL layouts, and per-app locale (AppCompat 1.7 / Android 13+). Use this for any i18n / l10n task.

9 stars 1 forksMobile Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add PanPanFR/oh-my-openkilo --skill android-localization
Manual install
git clone --depth 1 https://github.com/PanPanFR/oh-my-openkilo.git /tmp/oh-my-openkilo
mkdir -p ~/.claude/skills
cp -r /tmp/oh-my-openkilo/archive/skills/android/android-localization ~/.claude/skills/android-localization

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Android Localization & Internationalization

## Instructions

### 1. Resource Directory Strategy

```
app/src/main/res/
├── values/            strings.xml (default, English)
├── values-es/         Spanish
├── values-pt-rBR/     Brazilian Portuguese (region-qualified)
├── values-ar/         Arabic (auto-RTL)
├── values-night/      dark theme overrides
└── values-w600dp/     tablet overrides
```

Rules:
- Default `values/strings.xml` is English. Never leave English strings in region-specific folders.
- Region qualifier format is `-rXX` (BCP-47 lowercase-then-r-then-uppercase region).
- Never concatenate strings in code. Use placeholders and ICU.

### 2. Plurals with ICU MessageFormat

```xml

<string name="unread_count">{count, plural,
    =0 {No unread messages}
    one {# unread message}
    other {# unread messages}
}</string>
```

Load with `getQuantityString` replacement:

```kotlin
val formatted = MessageFormat.format(
    getString(R.string.unread_count),
    mapOf("count" to count),
)
```

Use `android.icu.text.MessageFormat` (API 24+, matches our `minSdk = 24`). It handles plural, select, and gender correctly in every locale. Do **not** use the legacy `<plurals>` XML tag for new strings — ICU is more flexible.

### 3. Interpolation in Compose

```xml
<string name="greeting">Hello, %1$s!</string>
```

```kotlin
Text(stringResource(R.string.greeting, user.name))
```

For ICU patterns pass through `MessageFormat.format` and wrap in a helper:
Read the full skill on GitHub

Details

Skill name
android-localization
Path
archive/skills/android/android-localization/SKILL.md
License
MIT
Repo updated
2 November 2026

FAQ

What does the Android Localization skill do?

Expert guidance on Android localization, res/values-*, string plurals, ICU MessageFormat, RTL layouts, and per-app locale (AppCompat 1.7 / Android 13+). Use this for any i18n / l10n task.

How do I install the Android Localization skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add PanPanFR/oh-my-openkilo --skill android-localization. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Android Localization popular?

It lives in PanPanFR/oh-my-openkilo, which has 9 GitHub stars and 1 forks.

Related skills

Adaptive

9

PanPanFR/oh-my-openkilo

Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as button

Mobile Development

Agentmemory

9

PanPanFR/oh-my-openkilo

Index for agentmemory internals: how it is wired into a host agent, its architecture and ports, configuration flags, capture hooks, MCP tool surface, and REST fallback. Use when installing or debugging agentmemory itself, when a memory tool name or parameter is unclear, or when capture is not recording. For normal recall and save work, use agentmemory-ops instead.

AI, LLMs & Agents

Agentmemory History

9

PanPanFR/oh-my-openkilo

Read past work: resume the last session, recap recent sessions, list agent-linked commits, trace a line back to the session that wrote it, or compact the current conversation for handoff. Use when the user says "where were we", "resume", "recap", "session history", "what did we do", "why is this code here", "who wrote this", or "handoff".

AI, LLMs & Agents

Android Modernization Upgrade

9

PanPanFR/oh-my-openkilo

Bring very old Android projects to a current supported baseline with staged upgrades, deprecated API replacement, 16 KB alignment checks, and explicit handoff to specialized skills.

Mobile Development

Android Intent Security

9

PanPanFR/oh-my-openkilo

Best practices for Android Intent security. Use this skill when auditing component configurations in AndroidManifest.xml activities, services, receivers) or source code handling incoming Intents (getIntent, getParcelableExtra) to prevent Intent Redirection and unauthorized access.

Mobile Development

Android Navigation Deeplinks

9

PanPanFR/oh-my-openkilo

Handle navigation graphs, back stack behavior, app links, intents, and destination ownership for Android apps.

Mobile Development

Browse the most popular Claude skills, all mobile development skills, or write your own with the skills generator.