/apple-apps:localizing-stringsfrom Apple Apps
Localizes Apple-platform UI text using string catalogs and bundle-aware APIs. Handles plurals, interpolation, accessibility text, and hardcoded-string extraction for SwiftUI, UIKit, and AppKit.
Ships in Apple Apps. 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; scripts run unread.
Localize application UI text while preserving the repository’s catalog keys, resource bundles, extraction workflow, and language-selection behavior. Use for interpolation, plural variations, accessibility text, and catalog migration. Do not translate developer diagnostics or change the app’s language policy.
Bundle.module only for Swift package targets that provide resources. App resources normally use the main bundle; frameworks use the bundle owning their catalog. See localizing package resources.Text("Delete Message") already treat suitable literal initializers as localizable. Preserve that path when it fits; do not wrap every literal in String(localized:).String(localized:bundle:comment:) when UIKit or another caller needs a resolved String.LocalizedStringResource, localization wrappers, generated symbols, or legacy APIs when they serve the project’s compatibility or deferred-resolution contract.Before manual review, run the deterministic localization linter (python3 scripts/lint_localization.py <paths...>; add --json for tooling) to flag likely unlocalized UIKit/AppKit/accessibility string literals while ignoring SwiftUI Text("..."), String(localized:), accessibilityIdentifier, symbol-only literals, and logs.
String helpers for repeated/resolved strings. Helper extraction is a style choice, not an Apple requirement.make build/package PACKAGE=<PackageName> or make build/app; these are project targets, not standard SwiftPM commands.one and other. Retain the actual extracted integer placeholder instead of guessing its width.For a phrase key, choose grammatical source wording consistent with the existing catalog. A singular base phrase is an example convention, not a requirement for plural selection.
When the project uses extracted helpers:
extension String {
fileprivate static var deleteMessageButton: String {
String(localized: "Delete Message", comment: "Button that deletes a message.")
}
fileprivate static func peopleCount(_ count: Int) -> String {
String(localized: "\(count) people", comment: "Number of people; configure plural variations.")
}
}
Use the resource-owning bundle where needed. A computed property resolves on each access; static let caches the first result. Choose according to the app’s language-change behavior. Keep helper visibility, ordering, and formatting consistent with the file.
Read only the examples needed for the requested change, adapting their optional helper/key conventions and package bundle:
Before finishing, confirm the bundle, extraction, keys, plural categories, and language-resolution behavior match the project.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
localization, string-catalogs, apple-platform, swiftui, uikit
npx claudepluginhub kylehughes/agent-plugins-for-making-good-software --plugin apple-apps7 skills in this plugin
/configuring-ios-contentConfigure UIKit cell content, backgrounds, empty states, and SwiftUI hosting. Use proactively for cell registration, configuration updates, reuse, or legacy cell-label migration./implementing-app-intentsBuild or debug App Intents, entities, queries, and system integrations. Use proactively for Siri, Shortcuts, Spotlight, widgets, controls, or Apple Intelligence integration./instrumenting-accessibility-identifiersAdd or audit typed accessibility identifiers and XCUITest selectors in SwiftUI or UIKit. Use proactively for automation contracts and selector migration; not a general VoiceOver audit./presenting-ios-modalsBuild or review SwiftUI and UIKit modal sheets, navigation chrome, button roles, detents, and dismissal. Use proactively for modal flows; not ordinary navigation or general styling./recording-ios-simulator-videosRecord and compress iOS Simulator video for UI tests, bug reproductions, or PR demos. Use when a video artifact is needed; not screenshots or physical-device capture./simplifying-apple-platform-codeSimplify Swift and Apple-platform code while preserving SDK, lifecycle, concurrency, and deployment contracts. Use proactively for requested cleanup with simplifying-code when available.Other plugins' skills for the same job