Changing the development language of an Xcode project

by @ralfebert · updated July 12, 2019

In Xcode projects, the Development Language is used as language for the Base localization. This setting needs to be changed if you want to keep the storyboards of the app in a different language. Unfortunately there is no way to change this setting directly in Xcode:

Xcode Projekt: Development Language

But the setting can be changed by editing the .pbxproj file directly using a text editor - look out for the developmentRegion property:

Development Region in Xcode pbxproj

You can also use the script xcode_set_development_region to change the language on the command line. For this you need to have cocoapods installed:

sudo gem install cocoapods
curl -O
ruby xcode_set_development_region.rb MyXcodeProject.xcodeproj de

You might also have to change the Localizations native development region property in the Info.plist accordingly or set it to $(DEVELOPMENT_LANGUAGE):

Info.plist: Localizations native development region