`deferredLocalizedIntentsStringWithFormat` not working when displayed in Shortcuts

Originator:simon
Number:rdar://44480679 Date Originated:15 September 2018
Status:Open Resolved:
Product:Intents Framework Product Version:iOS 12.0
Classification: Reproducible:Yes
 
Area:
Intents Framework

Summary:
Deferred localized intent strings containing parameters are not being rendered properly in the Shortcuts app. They are however being rendered correctly in the Siri & Search settings in the iOS Settings app, and also within our own apps.

Steps to Reproduce:
Localize the title of a custom parameter (INObject) using `deferredLocalizedIntentsStringWithFormat:`, add it to a shortcut, and then add the INShortcut to SuggestedShortcuts.

Expected Results:
When viewing the shortcut in the Shortcuts app, we should see the correct title of the parameter in the title string of the shortcut.

Actual Results:
We're actually seeing the key of the translation instead of the translation itself.

Version/Build:
Shortcuts RC (#702), iOS12.0 (RC), Xcode 10 (RC)

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!