xCode doesn't exporting keys from NSString.localizedUserNotificationString(forKey: arguments:)

Originator:Ido.Monzon
Number:rdar://45450012 Date Originated:October 22 2018
Status:Open Resolved:No
Product:xCode Product Version:10.0 (10A255)
Classification:Bug Reproducible:Always
 
Summary:
xCode doesn't exporting keys from NSString.localizedUserNotificationString(forKey: arguments:), so I should insert the data manually to the Localizable.strings file.

*When using `NSString.localizedUserNotificationString(forKey: NSLocalizedString("text to localize with %@", comment: "localize it"), arguments: [NSLocalizedString("text", comment: "localize it")] as [CVarArg])` it's working.
But in your documentation you'v said we should use NSString.localizedUserNotificationString(forKey: arguments:) instead of NSLocalizedString(key:, comment:), not together (and it's really makes seance).

Steps to Reproduce:
Use NSString.localizedUserNotificationString(forKey: arguments:) and try to export for localization.

Expected Results:
The export should include the keys that you'v mentioned in NSString.localizedUserNotificationString(forKey: arguments:)

Actual Results:
You won't see the keys that you'v mentioned in NSString.localizedUserNotificationString(forKey: arguments:)

Version/Build:
10.0 (10A255)

Configuration:
macOS ‏10.14 ‏(18A391‏)
MacBook Pro (15-inch, 2017)

Comments


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!