iOS 10 and Permissions localization description
Steps to Implement the localization for Permission.
Step 1 - Click the Info.plist
Step 2 - Click the Localize button [Xcode right middle]
Step 3 - Tick the languages
I had a similar issue, it was caused by using the wrong file name:
InfoPList.strings
instead of
InfoPlist.strings
Hope this info might be of useful for someone.
I faced the same issue and I was able to resolve it because I noticed that the InfoPlist.strings
wasn't member of any target.
So setting the Target Membership
on the file (which puts it into the Copy Bundle Resources
build phase) fixed it.
And for anyone googling here: https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/AboutInformationPropertyListFiles.html
Scroll down to "Localizing Property List Values"
Here are the steps for localizing info.plist variables
i. create a new file named "InfoPlist.strings" under your project
ii. click on your project to open settings (if target is your app, select project by just clicking it in opened window) add any necessary languages under "localizations"
iii. go to your InfoPlist.strings file and mark checkbox of desired languages under localizations. (Press "utilities" button unless localizations is not visible after clicking on .strings file, which is at the top right corner of xcode - the rightmost one)
iv. add necessary "key" = "value" pairs for all localization languages in InfoPlist.strings. If you have difficulties in finding keys belonging to info.plist rows, just right click on your info.plist and select Open As -> Source Code, all row parameters are indicated as keys in source code