How can i localize key-value in info.plist?

I want to localize two value in info.plist.

First one is [ NSFileProviderDecorations - Item0 - Label ], and second one is [ NSExtensionFileProviderActionName ].

I could localize first one using InfoPlist.strings. (and Label-NSStringFormat) But it does not work for second one.

I tried InfoPlist.strings, Localizable.strings, ..., but i can't localize this key. What should i do?

Add a Comment

Replies

Hi,

NSExtensionFileProviderActionName seems a bit special by not using InfoPlist.strings.
It should work if you have:

Info.plist

<key>NSExtensionFileProviderActionName</key>
<string>Some Action</string>

Localizable.strings

"Some Action" = "Some Localized Action"; // File Provider action name

There might be some caching at play too. If that doesn’t work, please file a feedback and share the number with us here :)

  • Thanks for reply. But it still doesnt' work, so i submitted feedback. The number is "FB10218485". Please check it out.

Add a Comment