← ClaudeAtlas

ios-localizationlisted

Implement or review Apple-platform localization with String Catalogs, generated symbols, plurals, locale-aware formatting, package resources, and right-to-left layout. Use for multi-language UI, translation keys, localized values, or localization testing.
thienqo/ios-skills · ★ 11 · AI & Automation · score 69
Install: claude install-skill thienqo/ios-skills
# iOS Localization & Internationalization Localize Apple-platform applications using String Catalogs (`.xcstrings`), compiler-generated symbols, locale-aware `FormatStyle`, and right-to-left (RTL) layout adaptation. Targets Swift 6.4 / iOS 26+. ## Contents - [String Catalogs (.xcstrings)](#string-catalogs-xcstrings) - [String Types: Key vs Resource](#string-types-key-vs-resource) - [Pluralization & Variations](#pluralization--variations) - [FormatStyle & Locales](#formatstyle--locales) - [Right-to-Left (RTL) Layout](#right-to-left-rtl-layout) - [iOS 27 Updates](#ios-27-updates) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## String Catalogs (.xcstrings) String Catalogs are the standard format for Xcode localization. Xcode automatically extracts localizable strings from source code on every build: ```swift // Automatically extracted as LocalizedStringKey in SwiftUI Text("Welcome back") Button("Save Changes") { } Label("Account Settings", systemImage: "person.crop.circle") ``` For non-view code, use generated symbols or `String(localized:)`: ```swift // Modern type-safe localized string let message = String(localized: "order_confirmation_title", defaultValue: "Order Confirmed") ``` ## String Types: Key vs Resource - **`LocalizedStringKey`**: Used across SwiftUI views (`Text`, `Button`). Evaluated lazily at view render time. - **`LocalizedStringResource`**: Decoupled from SwiftUI. Ideal for passing localized