Ios localization

From HoangNguyen0403/agent-skills-standard · View interactive version

Ios localization is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Implement String Catalogs, L10n workflows, and asset management for iOS. Use when adding multi-language support using iOS String Catalogs or L10n workflows.

How to use this skill

Skill file

iOS Localization & Assets

**Priority: P1 (HIGH)**

Implementation Workflow

  1. Use String Catalogs — Adopt .stringcatalog files in Xcode 15+ for visual editing and compile-time missing translation checks.
  2. Prefer modern APIs — Use String(localized: "key") or LocalizedStringResource instead of NSLocalizedString.
  3. Handle pluralization — Use String Catalogs' built-in pluralization instead of custom code logic.
  4. Format with locale — Use Formatted API for dates, numbers, and currencies to respect user locale.
  5. Organize assets — Use .xcassets with "Provides Namespace" enabled. Prefer SF Symbols for standard icons.
  6. Complete Base localization — Ensure Base complete before adding other languages.

See localization and asset catalog examples

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.