Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 869
Shahrukh A. Avatar asked Feb 06 '13 16:02

Shahrukh A.


People also ask

How do I change the language in iOS simulator?

On the simulator, open the Settings app. Navigate to General > Language & Region > iPhone Language to select a new language. Choose either Spanish or Polish and tap Done. Accept the language change and wait while the simulator reboots.

How do I change the region in iOS simulator?

in iOS Simulator menu, go to Debug -> Location -> Custom Location. There you can set the latitude and longitude and test the app accordingly.


2 Answers

It is also possible to set the language and the region via the scheme settings as seen here:

enter image description here

like image 168
JonEasy Avatar answered Nov 09 '22 05:11

JonEasy


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.

like image 32
Abizern Avatar answered Nov 09 '22 04:11

Abizern