How to localize Xcode Projects

(iOS, macOS, watchOS, tvOS, visionOS)

You can localize your Xcode projects into other languages easily using the Auto Localize app, thereby rapidly increasing the audience for your iOS, macOS, watchOS, tvOS and visionOS applications.

1 - Prepare Your Xcode Project for Localization

In the project editor, select the project name under Project, and click Info. Under Localizations, click the Add button (+), then choose a language and region combination from the pop-up menu.

...

...

In Xcode 15 and later, string catalogs are the recommended way to localize strings. To add a string catalog to your project, choose File > New > File. In the sheet that appears, select the platform, enter string into the filter field, select String Catalog, and click Next. In the dialog that appears, accept the default name Localizable, choose a location, and click Create.

...

...

3 - Create Auto Localize project.

The magic begins from this point onwards.

Open the Auto Localize app and create a new project. Give your project a suitable name.

...

4 - Add Xcode Project Folder

All you need to do is to add the Xcode project folder to the localization project.

... ... ...

It automatically detects the localization languages defined in your project file.

...

5 - Set Texts Not to Be Localized

During localization, there may be text such as application names or brand names that you do not want to be translated. Enter such text in the 'Text Not to Be Localized' tab. The text you enter here will not be translated into other languages.

...

6 - Localize the project.

Open the automatic localization screen by clicking on the "Localize" button on the toolbar. All you have to do on this screen is to start the translation process by pressing the "Start" button. The application will localize all items in Xcode project using Open AI's most advanced GPT models.

... ... ... ... ...

6 - Congratulations

That's it! Your Xcode project is successfully localized. Changes are reflected to Xcode automatically. You can view all translations for target languages within the project.

...