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.
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
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+.
String Catalogs are the standard format for Xcode localization. Xcode automatically extracts localizable strings from source code on every build:
// 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:):
// Modern type-safe localized string
let message = String(localized: "order_confirmation_title", defaultValue: "Order Confirmed")LocalizedStringKey: Used across SwiftUI views (Text, Button). Evaluated lazily at view render time.LocalizedStringResource: Decoupled from SwiftUI. Ideal for passing localized strings across view models, models, or App Intents.String(localized:): Immediately materializes the localized String using the current locale.String Catalogs support Unicode plural rules (zero, one, two, few, many, other) and device-specific variations (iPhone, iPad, Mac) in the visual catalog editor without complex .stringsdict files:
// Single integer interpolation triggers plural variant support in String Catalogs
Text("\(unreadCount) unread messages")Never format currency, numbers, or dates with manual string concatenation. Always use FormatStyle:
// Currency formatting adhering to user locale
let priceString = amount.formatted(.currency(code: "USD"))
// Date and relative time formatting
let dateString = eventDate.formatted(date: .abbreviated, time: .shortened)
let relativeString = eventDate.formatted(.relative(presentation: .named)).imageScale or disable mirroring only when representing physical hardware orientation.Sources: https://sosumi.ai/documentation/xcode-release-notes/xcode-27-release-notes, https://sosumi.ai/documentation/ios-ipados-release-notes/ios-ipados-27-release-notes
%1$@).FormatStyle.leading/trailing.String(localized:) in static properties pins the language at launch, failing when the user switches language dynamically.s for counts fails across languages with complex plural rules (e.g. Russian, Arabic)..xcstrings) used for all new string localizationLocalizedStringResource used when passing localized strings from model layersFormatStyleleading and trailingthienqo/ios-skills
6bf8b62
Canonical home
since May 23, 2026
Also appears in
on Oct 29, 2026
since May 22, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.