Search code examples
iosios5ios-simulator

How to change iOS simulator language to swedish


I want to change my ios simulator language to swedish, but i can't find this in settings. What can i do now to get swedish language.

enter image description here


Solution

  • If you are trying to test an application's localisations then there are easier ways than by changing the language on the device.

    You can run the apps with a flag to indicate the country:

    i.e for Swedish you can use the flag -AppleLanguages (sv)

    Of course, on the simulator or the device, you can't run an app with a flag normally, except for when you are building and running it through Xcode, where you can set the launch arguments for each scheme.

    I wrote about this in greater detail, with screenshots, and an example project: https://abizern.org/2012/03/18/simple-localisation-testing.html

    This works for the simulator and the device, and you don't have to change any of the device settings.