2

我想知道 iDevice 中的哪个 plist 存储了 idevice 的语言?

我想通过更改 plist 来更改 ipad 的语言。

你知道它是哪个plist吗?

非常感谢 !

祝你今天过得愉快 :)

4

1 回答 1

1

I have been searching for the same thing. I came across the file /var/root/Library/Lockdown/data_ark.plist which contains com.apple.international-Language and com.apple.international-Locale. If you change the language on the phone, you can check the file and see that these properties are updated in the file. The problem is when I modify this file and restart the device, the language does not change and the plist file is overwritten. If you are able to figure it out, let me know.

**Update**

The above file is not necessary. The correct file to update is "/private/var/mobile/Library/Preferences/.GlobalPreferences.plist" This file contains an array called AppleLanguages. The array contains multiple strings for all the languages your device supports. Your default device language is Item 0 at the top. When you change the language, the file will be updated with the new language at the top of the list. So all you have to do is move the language you want to change to, to item 0 at the top of the list.

于 2012-08-27T23:19:44.607 回答