Here’s a quick-start example using modern iOS localization with a String Catalog. 1. In Xcode, add a `Localizable.xcstrings` String Catalog. 2. Add a key like `welcome.title`. 3. Provide a Base value such as `Welcome`. 4. Add translations for each supported language. SwiftUI: ```swift import SwiftUI struct WelcomeView: View { var body: some View { VStack(spacing: 12) { Text(String(localized: "welcome.title")) Text( Date.now.formatted( date: .abbreviated, time: .omitted ) ) } .padding() } } ``...
Scanned 9/5/2026
Install to Claude Code
npx -y skills add HoangNguyen0403/agent-skills-standard --skill ios-localization --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ios Localization?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hoangnguyen0403-ios-localization-203f0d81)More formats (shields.io, HTML) on the badges page.
Here’s a quick-start example using modern iOS localization with a String Catalog.
1. In Xcode, add a `Localizable.xcstrings` String Catalog.
2. Add a key like `welcome.title`.
3. Provide a Base value such as `Welcome`.
4. Add translations for each supported language.
SwiftUI:
```swift
import SwiftUI
struct WelcomeView: View {
var body: some View {
VStack(spacing: 12) {
Text(String(localized: "welcome.title"))
Text(
Date.now.formatted(
date: .abbreviated,
time: .omitted
)
)
}
.padding()
}
}
```
If you want interpolation, add a catalog entry like `greeting.message = Hello, %@` and use:
```swift
let name = "Ava"
let message = String(
localized: "greeting.message",
defaultValue: "Hello, %@"
)
let text = String(format: message, locale: .current, name)
```
A few good defaults:
- Use `String(localized:)` or `LocalizedStringResource` instead of `NSLocalizedString`.
- Keep Base localization complete before adding other languages.
- Put images in `.xcassets` rather than loose files.
- Use built-in locale-aware formatting for dates, numbers, and currency.
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!