Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I change the Apple Watch simulator language?

Is it possible to change the Apple Watch simulator locale? I want to test the localization of my watch app. I can change language on an iPhone simulator, but the watch simulator is always in English. I can't find any language settings:

Apple Watch Simulator Settings Apple Watch Simulator Settings General (top) Apple Watch Simulator Settings General (bot)

like image 505
kelin Avatar asked Dec 05 '15 10:12

kelin


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.

How do I change the region in iOS simulator?

in iOS Simulator menu, go to Features -> Location -> Custom Location. There you can set the latitude and longitude and test the app accordingly. This works with mapkit and also with CLLocationManager. Save this answer.


2 Answers

Most certainly not possible neither via Watch Simulator UI nor iOS Simulator Watch app, but you can copy over values from iOS Simulator folder located in:

<simulator_dev_folder>/data/Library/Preferences/.GlobalPreferences.plist

to the same file in your Watch Simulator.

Plist keys to look for:

  • AppleLocale
  • AppleLanguages
  • AppleKeyboards
like image 155
Michi Avatar answered Sep 28 '22 02:09

Michi


Run|Options|Application Language

Unfortunately it works only on Xcode 7.2, not on Xcode 7.1. There is no other known possibility.

EDIT

There is a brand new library for language and locale automate testing. It's called AutoMate. The documentation can be found here.

like image 30
xenteros Avatar answered Sep 28 '22 00:09

xenteros