Mobile Guide

SwiftUI String Catalogs (.xcstrings)

Update Xcode 15+ `Localizable.xcstrings` cleanly while keeping Xcode colon spacing, `variations.plural`, and `substitutions` intact.

Quickstart commands

# 1. Initialize LANGUAGE.md and local MCP
npx -y qoloa init

# 2. Run local checks (0 credits)
npx -y qoloa scan . --store apple

# 3. Localize sibling locales in screen context
npx -y qoloa localize --to de,es,ja Localizable.xcstrings

What Qoloa catches

  • Preserves Xcode "key" : "value" formatting, extractionState, and %lld specifiers
  • Protects variations.plural and substitutions during edits
  • Checks iOS button lengths and permission purpose strings

LANGUAGE.md snippet

active_patterns:
  - mobile-paywall-value-disclosure
  - onboarding-guest-first-momentum

Sample diff

--- a/Localizable.xcstrings
+++ b/Localizable.xcstrings
- "value" : "Kostenlosen persönlichen Trainingsplan jetzt erstellen"
+ "value" : "Plan erstellen"

Example project files

Example path: fixtures/guides/swiftui-string-catalogs

Localizable.xcstrings