Dunfey · Hotel WWDC as data, est. 1983
Front desk everything
Years
Topics

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 ↗

Transcript all transcripts

Chapters

Code shown on screen · 5 snippets

Localizing strings in SwiftUI swift · at 3:02 ↗
// Localizing strings in SwiftUI

Text("Hello, world!", comment: "A standard greeting")
Localizing strings in SwiftUI with custom table name swift · at 3:11 ↗
// Localizing strings in SwiftUI with custom table name

Text("Hello, world!", tableName: "Greetings", comment: "A standard greeting")
Localizing strings in SwiftUI swift · at 11:21 ↗
// Localizing strings in SwiftUI

Text("Hello, world!", comment: "A standard greeting")
Localizing strings elsewhere swift · at 11:25 ↗
// 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 xml · at 13:39 ↗
// 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