swift-localization

Implement iOS localization with String Catalogs and LocalizedStringResource.

1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/kmshdev/claude-swift-toolkit --skill swift-localization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swift-localization
Source: https://github.com/kmshdev/claude-swift-toolkit/tree/main/skills/swift-localization
Command: npx skills add https://github.com/kmshdev/claude-swift-toolkit --skill swift-localization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implement localization using String Catalogs and LocalizedStringResource to manage multilingual UI content and ensure translators can update strings without code modifications.

Core Features & Use Cases

  • String Catalogs (.xcstrings) support for visual localization workflow and built-in plural variants
  • LocalizedStringResource and LocalizedStringKey usage for type-safe, runtime-localized UI
  • RTL layout support and locale-aware formatting for numbers and dates across locales
  • Use Case: Prepare an app for a new locale by adding translations and enabling runtime language switching

Quick Start

Create a Localizable.xcstrings catalog and start using String(localized:) for UI text.

Frequently Asked Questions about swift-localization

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement localization using Swift String Catalogs?

You implement Swift String Catalogs localization by creating a Localizable.xcstrings file and using String(localized:) for UI text. This enables translators to update strings visually without modifying your codebase.

What is the best way to handle pluralization in iOS localization?

Handling pluralization in iOS localization is best done using String Catalogs, which provide built-in plural variants. You manage multilingual UI content and plural rules directly within the .xcstrings visual workflow.

Does Swift String Catalogs support RTL layout and locale-aware formatting?

Yes, String Catalogs localization supports RTL layout and locale-aware formatting for numbers and dates across locales. It provides guidance for handling right-to-left text and formatting locale-specific data for multilingual apps.

Can I use LocalizedStringResource for runtime language switching in iOS?

Yes, you can use LocalizedStringResource and LocalizedStringKey for type-safe, runtime-localized UI to enable runtime language switching. This approach is applicable to iOS apps on Xcode 15+ and iOS 16+.

Do I need Xcode 15 to use Swift String Catalogs for translation?

Yes, you need Xcode 15+ and iOS 16+ to use String Catalogs (.xcstrings) and LocalizedStringResource for managing user-facing text translation. These versions provide the necessary visual localization workflow and built-in plural variants.