Episode #496

Exporting Strings for Translation

Series: Localizing Your App

7 minutes
Published on July 22, 2021

This video is only available to subscribers. Get access to this video and 584 others.

In this episode I will show two ways you can export all of the strings in your project. The first is using Xcode, but since this is a process you'll likely want to repeat, we'll also show how to do it via the command line so you can automate it. We'll then take the xliff files and send them off for translation using a translation service.

Exporting strings via command line

$ xcodebuild -exportLocalizations -localizationPath <targetdir>

This episode uses Xcode 12.5.