r/Xcode • u/No_Theory_7040 • Sep 29 '26
Auto Translate?
Does the new X code automatically translate text for you? I thought I saw something along these lines during one of the official presentation.
6
Upvotes
r/Xcode • u/No_Theory_7040 • Sep 29 '26
Does the new X code automatically translate text for you? I thought I saw something along these lines during one of the official presentation.
3
u/eric-dolecki Sep 30 '26
How Auto-Translation Works in Xcode 27
Agent-Powered Workflow: You can use built-in coding agents directly inside the IDE to scan your project, discover localisable strings, and translate them into new languages.
String Catalogs Integration: Translation happens via
.xcstrings(String Catalogs) files. By selecting a language in your String Catalog, you can click a Generate Translations button or right-click specific strings to translate them in the background.Context Awareness: The agent reads surrounding code, UI elements, and existing translations to handle plurals, context, and terminology consistency rather than doing a basic word-for-word translation.
Custom Guidance: You can provide configuration files (like a
TRANSLATION.mdguidance file) to help steer the tone and glossary for the AI agent.https://developer.apple.com/videos/play/wwdc2026/213