Post

Replies

Boosts

Views

Activity

Localizing display string of custom INObject
If the language used by Siri is different than the language settings of the user’s device I get mixed language responses when handling intents. How can I create an instance of a custom INObject with a localized display string and have it use the language used by Siri rather than the language set for the device.With the following code I always get the language of the device and not the language used by SiriINObject(identifier: nyId, display: NSLocalizedString("display", comment: "localizable display string")Also tried to get the language used by Siri using INPreferences.siriLanguageCode(), but it returns an empty string.
3
0
1.7k
Mar ’19