2026 AI & Machine LearningDeveloper Tools
WWDC26 · 15 min · AI & Machine Learning / Developer Tools
Translate your app using agents in Xcode
Find out how Xcode and coding agents help you translate String Catalogs using the context of your app. We’ll walk through strategies for reviewing translated output and iterating on your localizations, so you can deliver a tailored experience to people around the world.
Watch at developer.apple.com ↗Chapters
Code shown on screen · 5 snippets
Localizing strings in SwiftUI
// Localizing strings in SwiftUI
Text("Hello, world!", comment: "A standard greeting") Localizing strings in SwiftUI with custom table name
// Localizing strings in SwiftUI with custom table name
Text("Hello, world!", tableName: "Greetings", comment: "A standard greeting") Localizing strings in SwiftUI
// Localizing strings in SwiftUI
Text("Hello, world!", comment: "A standard greeting") Localizing strings elsewhere
// Localizing strings elsewhere
String(localized: "Hello, world!", comment: "A standard greeting")
LocalizedStringResource("Hello World!", bundle: #bundle, comment: "A standard greeting") Field for machine-translated strings in the XLIFF
// Field for machine-translated strings in the XLIFF
<trans-unit id="Grand Canyon" xml:space="preserve">
<source>Grand Canyon</source>
<target state="translated" state-qualifier="leveraged-mt">Grand Canyon</target>
<note>Name of the ‘Grand Canyon’ landmark.</note>
</trans-unit> Resources
Related sessions
-
17 min -
34 min -
22 min -
24 min