Best practice for localization in 2025
Asked on 2025-09-17
2 searches
For best practices in localization in 2025, Apple introduced several enhancements and tools during WWDC 2025. Here are some key points:
-
String Catalogs and Symbol Generation: Xcode now supports two workflows for managing strings: extracting them from code and referencing them with a type-safe API. This allows developers to choose the workflow that best suits their project needs. Symbol generation is enabled by default in new projects, making it easier to manage and reference localized strings (Code-along: Explore localization with Xcode).
-
Providing Context for Translators: It's important to provide additional context to translators to ensure high-quality translations. This can be done by adding comments directly in the code or in the string catalog's comment column. Xcode can automatically generate these comments, which helps translators understand the usage of strings (Code-along: Explore localization with Xcode).
-
Internationalization Tools: TextKit 2 and other APIs make it easier to support multiple languages, including complex scripts and bidirectional text. This ensures that your app can handle various languages and scripts effectively (Enhance your app’s multilingual experience).
-
Preferred Locales API: This API helps personalize the multilingual experience by automatically detecting and prioritizing users' preferred languages, making the app feel more natural and personal (Enhance your app’s multilingual experience).
These practices and tools are designed to help developers create apps that are more accessible and user-friendly for a global audience. For more detailed guidance, you can refer to the sessions "Code-along: Explore localization with Xcode" and "Enhance your app’s multilingual experience" from WWDC 2025.

Code-along: Explore localization with Xcode
Learn how to localize your app into additional languages using Xcode. We’ll walk step-by-step through the process of creating a String Catalog, translating text, and exchanging files with external translators. You’ll learn best practices for providing necessary context to translators and how Xcode can help to provide this information automatically. For larger projects, we’ll also dive into techniques to manage complexity and streamline string management using type-safe Swift code.

Enhance your app’s multilingual experience
Create a seamless experience for anyone who uses multiple languages. Learn how Language Discovery allows you to optimize your app using a person’s preferred languages. Explore advances in support for right-to-left languages, including Natural Selection for selecting multiple ranges in bidirectional text. We’ll also cover best practices for supporting multilingual scenarios in your app.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.