Missing Languages ​​on iOS Simulator

When I launch my application, my iPhone / iPad simulator gives me only 6 language options (English, German, Japanese, Italian, Spanish and Hungarian). After the advent of Googled, it looks like at least 18 languages ​​should be available.

I reinstalled Xcode 4.3.1 and installed the iOS 5.1 simulator and it has the same problems in the same languages.

Does anyone know where these languages ​​are defined, and why the simulator did not have all the options available? Google and the Apple Dev forums do not help.

Here is a screenshot:

iOS Simulator

Update: I decided to install a slightly older 5.0 simulator (instead of 5.1), and whenever I use the 5.0 simulator, it seems that I have all the languages. If I go back to the 5.1 simulator, I still have only 6 languages ​​shown in the screenshot above.

+8
ios ios-simulator localization
source share
2 answers

Based on the information in the answer posted by the user with the name idz in the same question, I was able to figure out how to fix it.

I used 5.1, I had to install the previous version of my simulator (5.0), then find the language directories from 5.0 and copy them to the right place for 5.1, and then restart iPhone Simulator. Here are some detailed steps:

  • Find the .lproj directores language for simulator 5.0. /Applications/Xcode-4.3.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/PrivateFrameworks/Preferences.framework/
  • In this folder you will see many folders with the extension .lproj, for example. English.lproj . Copy all the .lproj folders that you find here.
  • Find the folder with .lproj directories for the 5.1 simulator. /Applications/Xcode-4.3.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/PrivateFrameworks/Preferences.framework/
  • Paste the folders copied to this directory. I decided not to overwrite any existing folders when I did this.
  • Reboot the iPhone simulator.
  • Make sure your iPhone Simulator is set to 5.1. While iPhone Simulator is selected, go to Hardware -> Version -> 5.1 . Now, when you select the language for the simulator, you should have all available languages ​​that you copied from the 5.0 folder.

Alternatively, some of them said that you can fix this by simply uninstalling the Xcode SDK and reinstalling it, but I found this method much faster.

I sent an Apple bug report and after a week I had no answer. I directed them to this page to fix the problem, but I still don’t know how it happened in the first place.

0
source share

I think something bad happened with your installation of the simulator, not that Apple removed the languages. If they reduced the number of languages ​​in the simulator to only 6 Magyar, it would be a strange choice (with only 12.5 million speakers).

I also tested my Xcode 4.3.3 / iPhone 5.1 simulator and I have what I assume is a complete set of languages. Maybe you should try reinstalling your simulator!

The list of languages ​​represented by the simulator in the Settings application can be found in

/Applications/Xcode-4.3.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/PrivateFrameworks/Preferences.framework/GlobalPreferences.plist .

It is in binary format, so you will need to copy it to the temp directory and use plutil -convert xml1 <file_name> to convert it to what you can read. You can check and see if there are any languages ​​from this list.

For reference here, what mine looks like

 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>AppleLanguages</key> <array> <string>en</string> <string>fr</string> <string>de</string> <string>ja</string> <string>nl</string> <string>it</string> <string>es</string> <string>pt</string> <string>pt-PT</string> <string>da</string> <string>fi</string> <string>nb</string> <string>sv</string> <string>ko</string> <string>zh-Hans</string> <string>zh-Hant</string> <string>ru</string> <string>pl</string> <string>tr</string> <string>uk</string> <string>ar</string> <string>hr</string> <string>cs</string> <string>el</string> <string>he</string> <string>ro</string> <string>sk</string> <string>th</string> <string>id</string> <string>ms</string> <string>en-GB</string> <string>ca</string> <string>hu</string> <string>vi</string> </array> <key>AppleLocale</key> <string>en_US</string> </dict> </plist> 
+5
source share

All Articles