Localizing Swift Packages with String Catalogs
Dec 14, 2025 ·
I gave this talk at CocoaHeads Sthlm on how to localize Swift packages with String Catalogs and how to create a shared localization package that can be used by multiple apps and packages.
I have written about String Catalogs in Swift Packages in here and here. See SwiftPackageScripts for the scripts I use to generate public keys for the Xcode generated, package internal ones.
Abstract
This talk explores Xcode string catalogs and the drastic improvemenets introduced in Xcode 26. We will look at the key differences between app and package localization and common pitfalls.
We’ll also look at how we can use Xcode 26’s new symbol generation to get compile-time safety, and how to set up a shared translation package that can be used by many packages and apps.
Images
I'm terribly bad at taking pictures while traveling, so if you do have any nice pictures of us together, feel free to send them my way.
Discussions & More
If you think this talk sounds interesting and want to book me for a conference or company event, please reach out on Bluesky or Mastodon, or send me an e-mail.