(duration.localized()) timer started. This works great as long as these two languages are set to the same language on the user's device: [UI language] Settings → General → Language & Region → Preferred Language [Siri langauge] Settings → Apple Intelligence & Siri → Language However, when they differ, even this method doesn't yield correct results. This behavior makes sense to me. Assuming that: Your device has the UI language set to English, the region set to United States, and the Siri language set to German. duration is set to 10 seconds. I believe this is how it works: Siri creates an instance of your app intent (StartTimerIntent), and runs its perform method in your app's process. The perform method creates an IntentDialog, which triggers localized(). There, .autoupdatingCurrent returns the current Preferred locale (en_US), and so localized() returns: 10 seconds timer started.”. The string is used as a key to create the localized string resource (LocalizedStringResource) for the dialog message. Si
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags: