Member-only story
WWDC 2023: Discover String Catalogs
We all should do this
This article is intended as a companion to Apple’s video and does not replace it in any way. However, I find having a text file like this much more helpful than just a video but I’m sure you’ll let me know in the comments how useful this is.
Localization
Localizing apps is a very important way to allow different people to use any particular app.
We are moving away from strings
and stringsdict
files in favour of String Catalogs.
String Catalogs store strings in one place to localize content before shipping.
In the Repo I have created an existing project using Xcode 14.2 which is a simple new SwiftUI project.
Which contains no special settings
With the following code:
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Image(systemName: "globe")…