How to migrate from Localizable.strings to String Catalogs
Learn how to migrate your iOS project to .xcstrings for localization.
06 Nov 2023 · 1 min read
At WWDC23, Apple introduced String Catalogs which is a new way to add localization to iOS projects. In this article on how to use String Catalogs for localization, we already learned the basics of String Catalogs.
In this article, we are going to look at how to migrate to String Catalogs in projects which already use Localizable.strings files.
Let's get started.

The first thing to mention when thinking about migrating to String Catalogs is backward compatibility. The good news is that String Catalogs are fully backward compatible. Xcode converts the String Catalog back to plain old .strings and .stringsdict files during the build process.
The other good news is that Xcode can do the whole migration process for us. All we need to do is to right-click on the Localizable.strings file and select Migrate to String Catalog.

Note that if you are working with third-party services or libraries for localization, you should check whether they support String Catalogs before the migration.

Newsletter
Like to support my work?
Say hi
Related tags
Articles with related topics
Latest articles and tips