How to localize the UIApplicationShortcutItemTitle key

How to localize a key UIApplicationShortcutItemTitle?

I know how it works for the localization of such keys as NSLocationUsageDescriptionand NSLocationAlwaysUsageDescription: you put your location in the file InfoPlist.strings.

However, these are unique keys to the document.

In this case, I will have one UIApplicationShortcutItemTitlefor each quick action, nested inside the dictionary and array.

How can I localize these nested values?

+5
source share
1 answer

Although UIApplicationShortcutItemTitle is not "unique" because there are multiple arrays, you can specify the value of this key to associate with the key in InfoPlist.strings.

In Info.plist

"UIApplicationShortcutItemTitle": "shortcutTitle1"

InfoPlist.strings,

shortcutTitle1 = " info plist"

Apple.

+9

All Articles