UIImagePickerController localized control text, custom uiimagepicker
When using UIImagePickerController, you will find that when selecting a photo or taking a photo, many controls on the interface are in English, such as "Cancel" and "Choose. So how to localize them, such as replacing them with "cancel" and "select"? Even the strings returned by calling other libraries of the system (such as ALAssetsLibrary) are all in English.
The solution is to add key/value to Info. plist.
<Key> CFBundleDevelopmentRegion </key> <string> zh-Hans </string>
Zh-Hans stands for simplified Chinese. If you want to find the abbreviations corresponding to other languages, you can view the official documentation: Language ID
This key is added by default in the new project (Supporting Files/Info. plist), but the vallue is set to en (English) and you only need to change it to "China.
References: https://forums.xamarin.com/discussion/10718/localization-and-uiimagepickercontroller
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.