/skip-app-design:skip-localizationfrom skip-app-design
Translates Skip apps and libraries using xcstrings catalogs, Info.plist strings, and App Store/Google Play metadata. Use when adding translations, expanding languages, or preparing store metadata.
Ships in skip-app-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Skip apps and libraries are translated through three artifacts:
Sources/<Module>/Resources/Localizable.xcstrings — in-app strings in every Swift Package module, extracted from Text("…", bundle: .module, comment: "…") and friends.Darwin/InfoPlist.xcstrings — iOS-only Info.plist localisable keys (the various *UsageDescription permission prompts).Darwin/fastlane/metadata/<locale>/ and Android/fastlane/metadata/android/<locale>/ — App Store Connect and Google Play storefront metadata (title, subtitle, descriptions, keywords, release notes, screenshots).Skip transpiles the in-app xcstrings to Android string resources at build time so the same key is translated on both platforms from one source.
For the deep details, this skill links out:
references/xcstrings-schema.md — the full .xcstrings JSON shape, translation-state machine, format specifiers / plurals / RTL marks, xcstringstool validation, JSON-hygiene pitfalls.references/fastlane-metadata.md — directory trees for both stores, exact byte budgets per file, screenshot paths, the skip verify / skip meta index validation commands.references/language-codes.md — BCP-47 (in-app) → App Store → Play code mapping, with a working example and a generator script.Walk a Skip project's translation surface like this:
# In-app strings — every module that ships user-facing UI
find Sources -name "Localizable.xcstrings"
# iOS Info.plist permission prompts (only present when the app declares them)
ls Darwin/InfoPlist.xcstrings 2>/dev/null
# App Store metadata
ls Darwin/fastlane/metadata/
# Google Play metadata
ls Android/fastlane/metadata/android/
Each module gets its own Localizable.xcstrings. A two-module Skip app typically has at least Sources/<App>/Resources/Localizable.xcstrings (UI strings) and Sources/<App>Model/Resources/Localizable.xcstrings (data-layer strings). Translate them all.
User-facing strings must be created with the bundle-aware constructor so genstrings / the String Catalog extractor can see them:
Text("Settings", bundle: .module, comment: "settings sheet title")
Text("\(count) Tabs", bundle: .module, comment: "tabs title with count")
// String values for non-Text contexts
String(localized: "Cancel", bundle: .module, comment: "cancel button on the download dialog")
// Labels with both Text and an icon
Label {
Text("Block Ads", bundle: .module, comment: "settings toggle label for blocking ads")
} icon: {
Image("shield", bundle: .module)
}
What doesn't work:
Text("Settings") // never extracted — no bundle
Text(verbatim: "Settings") // explicitly opts out of localization
let title = "Settings"; Text(title) // extractor can't see the literal
Text(verbatim:) is reserved for content that genuinely never translates — already-formatted numbers, URLs, usernames. Prefer the locale-aware formatted variants (Text(count, format: .number)) over verbatim: so locale-aware formatting still happens.
The Label { Text } icon: { Image } form is also the canonical icon shape because Label(_, systemImage:) mostly doesn't work cross-platform — see skip-icons for the icon side of the same pattern.
The comment: parameter is not optional in practice. Translators rely on it to disambiguate strings that look identical in English ("Open" the verb vs. "Open" the adjective). Write it from the translator's point of view — what they need to know to pick the right gender, formality, or word sense — not from the engineer's.
These are the conventions every Skip-project translation should follow.
Localizable.xcstrings controls which languages each module supports. A reasonable starting set covers high-impact app-store regions across script families — Latin, Cyrillic, Arabic, CJK, Devanagari, Hangul. The exact list is a project decision. Inspect the existing localizations keys in the canonical module's catalog and treat that as the contract; new translations must cover every code already present, and any expansion to a new language must apply to every module's catalog and the InfoPlist.xcstrings uniformly.
When the project explicitly lists supported languages (CLAUDE.md, a translation script, a CI config), honour that list as the floor. Don't drop languages already present; add the missing ones.
needs_review"My Tasks" : {
"comment" : "main screen navigation title",
"localizations" : {
"fr" : {
"stringUnit" : {
"state" : "needs_review",
"value" : "Mes tâches"
}
}
}
}
A human reviewer's job is to scan the needs_review set, not to discover that you've changed translations they previously approved. The state machine is in references/xcstrings-schema.md.
comment: tells you which.App UI runs on phones with limited screen space. A label that becomes 1.5× longer in translation will truncate, wrap to two lines, or push neighbours offscreen. Prefer the shortest natural phrasing in the target language even when a longer one would feel more complete.
Examples:
If the source string has no comment:, look up where it's used in the codebase, write a one-line context comment from the translator's POV, and add it to the catalog before translating. A translator (human or agent) without context produces guesses, not translations.
Finding usages:
# Search for the literal text — most strings appear only once
grep -rn '"Block Ads"' Sources/
# Or search by the catalog key from the .xcstrings JSON
grep -rn 'bundle: \.module, comment:' Sources/<Module>/ | grep -i "block ads"
When you add a comment to an existing entry, keep it terse and audience-appropriate (translator, not engineer). "label for the privacy section's ad-blocker toggle" is useful; "see BrowserTabView.swift line 312" is not.
Darwin/InfoPlist.xcstrings covers iOS-specific keys that appear in system permission dialogs and document type descriptions:
NSCameraUsageDescription, NSPhotoLibraryUsageDescription, NSMicrophoneUsageDescription, NSLocationWhenInUseUsageDescription, NSContactsUsageDescription, NSCalendarsUsageDescription, NSRemindersUsageDescription, NSBluetoothAlwaysUsageDescription, and other *UsageDescription keys.CFBundleDisplayName if the app's name itself has a localised variant.The JSON schema is identical to Localizable.xcstrings — see references/xcstrings-schema.md. The source-of-truth English strings live in Darwin/Info.plist; the InfoPlist catalog provides translations for whatever the plist exposes. When translating, support every language that the corresponding module's Localizable.xcstrings supports.
InfoPlist.xcstrings is iOS-only — Android requests permissions through manifest entries that don't carry user-facing description strings, so there's no Android counterpart to translate here.
skip init ships a populated Localizable.xcstrings for the template UI — Welcome / Home / Settings / "Hello Skipper!" / etc. After you rip out the template and write your real screens, those entries are still in the catalog, complete with the template's es / fr / ja / zh-Hans translations.
Two failure modes:
xcstringstool happily report 100% coverage for strings that are no longer referenced anywhere in the source. The String Catalog editor doesn't automatically prune entries when the source string disappears — Editor → Sync does, but only when run interactively from Xcode.The clean path is to rewrite the catalog from scratch with only the strings the new code references, and re-add the supported languages programmatically:
# 1. Find every string my code references
grep -rn 'bundle: \.module, comment:' Sources/<Module>/*.swift > /tmp/strings.txt
# 2. Build the new catalog (one entry per string) with the supported language set
# 3. Mark every translation `"state" : "needs_review"`
# 4. Validate with xcrun xcstringstool print
A multi-module Skip app (<App> + <AppModel>) gets one Localizable.xcstrings per module. The template puts strings in both because its model exposes user-facing strings (item titles, date formatters, etc.). A pure-data model often has none — it's all Codable structs, persistence, and computed properties.
If <AppModel> has no Text(_, bundle: .module, ...) or String(localized:, bundle:, ...) calls, set its catalog to the empty form:
{
"sourceLanguage" : "en",
"strings" : {
},
"version" : "1.0"
}
— rather than leaving the template's stale entries. An empty catalog still validates with xcstringstool print, ships zero extra bytes to either platform, and is unambiguous about what the module does and doesn't translate.
When the canonical English changes for an existing key, Xcode (and human reviewers) want to know the existing translations may be stale. Two options:
"state" : "needs_review" to flag re-translation.Option 2 is usually what you want — the strings table is keyed by the English source, so changing the key strands historical translations. Update the values to match the new English meaning and reset state to needs_review.
A common task. Steps:
find Sources -name "Localizable.xcstrings" and note the language set in any module that's already translated. That's the floor.InfoPlist.xcstrings.comment: is missing, search the source for usage and add one before translating.localizations.<code>.stringUnit entry with the translation and "state" : "needs_review".: and value).xcstringstool print on every modified catalog to confirm it parses.Darwin/fastlane/metadata/<store-locale>/ and Android/fastlane/metadata/android/<store-locale>/ — translating the BCP-47 catalog codes to the per-store codes (references/language-codes.md). Translate every .txt file under the canonical English locale, respecting the byte budgets. Run skip verify and skip meta index.Before considering a translation pass complete:
Localizable.xcstrings has been edited if it had any untranslated strings.Darwin/InfoPlist.xcstrings (if present) covers the same language set."state" : "needs_review".xcstringstool print..txt files added/updated for every store-supported locale, byte budgets verified with wc -c.skip verify passes.skip meta index passes.Label { Text } icon: { Image } form is also the localization-correct shape; the two patterns share a syntax.Text constructor fits into the broader view-code surface.skip verify and skip meta index fit in the release pipeline.references/xcstrings-schema.md.references/fastlane-metadata.md.references/language-codes.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub skiptools/skills --plugin skip-app-design8 skills in this plugin
/building-skip-uiBuilding SwiftUI views in Skip projects that work on both iOS and Android. Covers supported components, navigation, state management, Jetpack Compose customization, Material 3 theming, the hard rule against `Image(systemName:)` / `Label(_, systemImage:)` (use `.symbolset` resources via `Image("name", bundle: .module)` instead), and the localization-correct `Label { Text } icon: { Image }` shape./skip-app-walkthroughStart-to-finish orchestrator for building a new cross-platform Skip app. Sequences the other Skip skills in the order you actually need them — scaffold with `skip init`, write SwiftUI, add Material Symbols icons, validate Kotlin transpilation with `swift test`, drive the running app with `skip app launch` + Maestro, localise via `Localizable.xcstrings`, and ship via `skip export` with fastlane metadata. Use this skill at the start of a new project, or when picking up an existing Skip app and trying to decide which skill applies to which phase. Each phase links to the dedicated skill for the deep dive. Also points at the `skipapp-todo` working example at https://github.com/skiptools/skills as a reference build./skip-frameworksIntegrating optional Skip frameworks into a project. Covers Firebase, SQLite, Keychain, WebView, audio/video, device sensors, Lottie animations, FFI, and other frameworks. Includes Package.swift dependencies, skip.yml configuration, and usage examples./skip-fuseBuilding Skip apps in Fuse mode — Swift compiled natively for Android via the Swift Android SDK (Swift 6.3+), with auto-generated JNI bridging between Swift and Kotlin/Java. Covers when to choose Fuse over Lite, project init with `skip init --native-app`, the `mode: 'native'` + `bridging: true` skip.yml configuration, the `import SkipFuse` requirement for `@Observable` models (a build-time warning, not an error), the internal/public visibility rules for views and properties, the ~60 MB Swift runtime binary cost, debugging via `OSLog.Logger` (breakpoints not yet supported), `ProcessInfo.processInfo.dynamicAndroidContext()` for reaching the Android Context, the Kotlin-inline-class string-interpolation workaround for Android SDK properties, `SKIP_BRIDGE=1` for dynamic library bundling, and the `skip android test` (CLI vs APK mode) test command. Use this skill whenever working on a project whose `skip.yml` contains `mode: 'native'`, or when deciding between Lite and Fuse for a new app./skip-iconsIcons in Skip projects. The hard rule: never use `Image(systemName:)` or `Label(_, systemImage:)`. SF Symbols are an Apple-only catalogue with no Android equivalent; the names you pass to `systemName:` / `systemImage:` will not resolve on Android and most will render as a blank or generic-placeholder glyph. The canonical replacement is to download Material Symbols from `fonts.google.com/icons` in **Apple symbolset format**, drop the `.symbolset/` bundle under `Sources/<Module>/Resources/Icons.xcassets/`, and render with `Image("name", bundle: .module)` inside the localisation-correct `Label { Text(…, bundle: .module) } icon: { Image(…) }` form. The same SVG ships to both platforms and looks identical. Also covers app launcher icons via `skip icon` and how to verify in-app icons render on both platforms. The full `.symbolset` format spec (download URLs per variant, `Contents.json` schemas, verification checks) is in references/symbolset-anatomy.md. references/sf-symbol-map.md explains what SkipUI does with `systemName:` internally — it is **not** a "safe-to-use" list. Use this skill whenever adding, replacing, or auditing icons in a Skip app or library./skip-lite-transpilationSwift-to-Kotlin transpilation rules and pitfalls for Skip Lite mode. Covers the high-impact bugs (silent integer overflow, `Double == Int` compile errors, `Foundation.sqrt`, `String.append(Character)`, `Array.remove(atOffsets:)` SwiftUI-only gotcha, variadic init issues, `String(describing:)` and Kotlin map iteration), the `MutableStruct`/`.sref()` value-semantics machinery and the `@nocopy` escape, generics limits and the `@inline(__always)` reified-generics escape, garbage-collection effects (`weak`/`unowned` ignored, `deinit` becomes Kotlin `finalize`), the Kotlish dialect for `#if SKIP` blocks, and the SKIP comment directives (INSERT/REPLACE/DECLARE/NOWARN/SYMBOLFILE/EXTERN/@nocopy/@nodispatch/@bridge). The full long-form rules are in references/swift-kotlin-rules.md. Use when writing or reviewing Swift code in a transpiled Skip project, or when a Kotlin compile error in `XCSkipTests.testSkipModule` points at one of the above patterns.Other plugins' skills for the same job