app-store
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive…
Generate internationalization (i18n) infrastructure for multi-language support in iOS/macOS apps. Use when localizing for multiple languages, adopting String Catalogs (xcstrings), or supporting RTL languages.
Claude Code
$ npx -y skills add rshankras/claude-code-apple-skills --skill localization-setup --agent claude-code
Codex
$ npx skills add rshankras/claude-code-apple-skills --skill localization-setup -a codex -y
Cursor
$ npx skills add rshankras/claude-code-apple-skills --skill localization-setup -a cursor -y
Gemini CLI
$ npx skills add rshankras/claude-code-apple-skills --skill localization-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add rshankras/claude-code-apple-skills --skill localization-setup -a github-copilot -y
OpenCode
$ npx skills add rshankras/claude-code-apple-skills --skill localization-setup -a opencode -y
Windsurf
$ npx skills add rshankras/claude-code-apple-skills --skill localization-setup -a windsurf -y
name: localization-setup description: Generate internationalization (i18n) infrastructure for multi-language support in iOS/macOS apps. Use when localizing for multiple languages, adopting String Catalogs (xcstrings), or supporting RTL languages. allowed-tools: [Read, Write, Edit, Glob, Grep, Bash, AskUserQuestion] last_verified: 2026-07-16 review_by: 2027-06-22 os_version: iOS 27 / macOS 27
Generate internationalization (i18n) infrastructure for multi-language support in iOS/macOS apps.
Before generating, verify:
1. **Existing Localization**
# Check for existing localization files find . -name "*.xcstrings" -o -name "Localizable.strings" 2>/dev/null | head -5 find . -name "*.lproj" -type d 2>/dev/null | head -5
2. **Deployment Target**
# String Catalogs require iOS 16+ / macOS 13+ grep -r "IPHONEOS_DEPLOYMENT_TARGET\|MACOSX_DEPLOYMENT_TARGET" *.xcodeproj 2>/dev/null
3. **Project Structure**
# Find project for adding localization find . -name "*.xcodeproj" | head -1
Resources/ └── Localizable.xcstrings # String catalog with all translations
Sources/Localization/ ├── LocalizedStrings.swift # Type-safe string access ├── LocalizationManager.swift # Runtime language switching └── LocalizedPreview.swift # SwiftUI preview helpers
// Generated enum for type-safe access
enum L10n {
static let appName = String(localized: "app_name")
static let welcomeMessage = String(localized: "welcome_message")
enum Settings {
static let title = String(localized: "settings_title")
static let language = String(localized: "settings_language")
}
}
// Usage
Text(L10n.appName)
Text(L10n.Settings.title)// In String Catalog, define plural rules
// key: "items_count"
// variations:
// - zero: "No items"
// - one: "1 item"
// - other: "%lld items"
Text(String(localized: "items_count \(count)",
defaultValue: "\(count) items"))// In String Catalog: // key: "greeting" // value: "Hello, %@!" let name = "Alice" Text(String(localized: "greeting \(name)"))
// Preview in different locale
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
.environment(\.locale, Locale(identifier: "es"))
}
}1. In Xcode: File > New > File 2. Choose "String Catalog" 3. Name it "Localizable.xcstrings" 4. Add to your app target
1. Select project in navigator 2. Info tab > Localizations 3. Click + to add languages
If migrating from .strings files: 1. Right-click .strings file 2. "Migrate to String Catalog..."
// Automatic localization
Text("Hello, World!") // Uses String Catalog automatically
// Explicit localized string
Text(String(localized: "custom_key"))
// With type-safe enum (generated)
Text(L10n.welcomeMessage)label.text = String(localized: "hello_world")
// or
label.text = NSLocalizedString("hello_world", comment: "Greeting")// Good: Descriptive, hierarchical "settings.appearance.theme" "onboarding.step1.title" "error.network.connection_failed" // Avoid: Vague or hardcoded text as key "button1" "Hello, World!"
String(localized: "delete_confirmation",
comment: "Alert message asking user to confirm deletion")// Numbers - Use FormatStyle Text(price, format: .currency(code: "USD")) // Dates - Use FormatStyle Text(date, format: .dateTime.month().day()) // Lists - Use ListFormatStyle Text(items, format: .list(type: .and))
// Automatic with SwiftUI // For manual layout adjustments: .environment(\.layoutDirection, .rightToLeft)
1. Edit Scheme > Run > Options 2. Set "App Language" to test language 3. Set "App Region" for number/date formatting
#Preview {
ContentView()
.environment(\.locale, Locale(identifier: "ja"))
}1. Product > Export Localizations... 2. Share .xliff files with translators 3. Import translated .xliff files
A collection of Claude Code skills for iOS, macOS, watchOS, visionOS, and Apple platform development. These skills help you plan and build apps, maintain code quality, ensure HIG compliance, and guide you from idea to App Store.
App Store optimization and marketing skills for descriptions, screenshots, keywords, review responses, and comprehensive…
Privacy-preserving ad measurement with AdAttributionKit (SKAdNetwork's successor) — install and re-engagement attribution,…
Generate compelling App Store descriptions that convert browsers into users. Use when writing initial descriptions, improving…
Apple Search Ads campaign strategy for indie developers — paid acquisition, keyword bidding, budget planning, and ROAS…
Take a one-time in-app purchase from MISSING_METADATA to READY_TO_SUBMIT in App Store Connect — set its price schedule and…
Optimize app title, subtitle, and keywords for maximum App Store discoverability. Use when launching a new app, improving search…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.