Info.plist localization strings

We are developing application for Ios using Unity and struggling with adding localization for info.plist usage descriptions(NSCameraUsageDescription, NSMicrophoneUsageDescription, NSPhotoLibraryUsageDescription). Localization is added accordingly to the guide outlined here https://developer.apple.com/documentation/xcode/adding-support-for-languages-and-regions, but it doesn't work for us. On device with system language in Ukrainian we getting English localization. In project we added localization for Ukrainian and Russian. Any recommendations on resolving this issue?

On device with system language in Ukrainian we getting English
localization.

Just for the usage description alerts? Or in general?

Does this just reproduce for your Ukrainian localisation? Or for your Russian one as well?

What platform is this on? iOS? macOS? Both?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Just for alerts. For the app itself we're using our implementation for localization.

It doesn't work for Ukranian and Russian system languages, it always shows alerts in English.

Platform is iOS.

Are Ukranian and Russian, English the only languages in your app ? Did you try with other language, German, French ?

Does it occur on simulator or / and on device ?

Have you created localized infoPlist.Strings files ?

They should look like:

/* (No Comment) */
"CFBundleName" = "App Name";

/* (No Comment) */
"NSCameraUsageDescription" = "App a besoin d'accéder à l'appareil photo pour prendre en photo ou pour un scan.";

/* (No Comment)  */
"NSPhotoLibraryUsageDescription" = "App a besoin d'accéder à vos photos pour l'utiliser pour vos données personnalisés.";

We have Ukranian, Russian and English for now. Planning to add more in the future.

For testing we had added German and got the alert in English.

Yes, we created InfoPlist.Strings files for Ukranian, Russian and English.

i am having a similar problem. did you solve the problem?

https://developer.apple.com/forums/thread/693080

Info.plist localization strings
 
 
Q