Safari 10.0.3: Localization of Safari App Extension description (NSHumanReadableDescription) doesn't work

Originator:nbeadman
Number:rdar://30330071 Date Originated:02-Feb-2017 09:36 AM
Status:Open Resolved:
Product:Safari Product Version:Safari 10.0.3 (12602.4.8)
Classification:UI/Usability Reproducible:Always
 
Summary:

I have an application that contains a Safari App Extension. In the Safari App Extension’s Info.plist there is a NSHumanReadableDescription key which is shown in the Extensions tab as documented in the Safari App Extension Programming Guide.

I am trying to localize the string in to the languages supported by my app and Safari App Extension using InfoPlist.strings. This does not work currently.

Steps to Reproduce:

1. Create a Safari App Extension and set the description in Info.plist using the NSHumanReadableDescription
2. Confirm that the description appears as expected in Safari’s Extensions tab of the Preference dialog
3. Add to each language InfoPlist.strings the a different string using the string in NSHumanReadableDescription as the left hand side
4. Look at the description in Safari to see if it has changed

Expected Results:

The right hand side string from InfoPlist.strings to be shown.

Actual Results:

The string from Info.plist is shown instead.

Notes:

I have asked this question on the developer forums at <https://forums.developer.apple.com/thread/70912> with no answers. I am creating this bug in response to a question I asked DTS (Follow-up: 657933941).

To test I tried adding:

  <key>NSHumanReadableDescription</key>  
  <string>INFOPLIST: Description</string>  

to the Info.plist and then all of the following to InfoPlist.strings:

NSHumanReadableDescription = "ENGLISH: Description";  
"NSHumanReadableDescription" = "ENGLISH: Description";  
"INFOPLIST: Description" = "ENGLISH: Description";  

In all cases the string from Info.plist was shown.

Comments

Apple Developer Relations on February 5 2017, 11:44 PM:

Engineering has determined that your bug report is a duplicate of another issue (28673078) and will be closed.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!