How to use Xcode launch arguments to test localizations

Keith Harrison on manually changing the language in the Settings app:

Changing this setting back and forth between the different languages you need to support is tiresome if you do it manually. Luckily there is a build argument you can use to force the language at runtime.

Keith offers a clever solution to switch between localizations using app launch arguments.