Post

Replies

Boosts

Views

Activity

Custom Siri Intent Localization Dialog not working
Info.plist has default value of CFBundleDevelopmentRegion to $(DEVELOPMENT_LANGUAGE) and added CFBundleLocalizations with en and de as values (same with the Intent Extension plist) keyCFBundleDevelopmentRegion/key string$(DEVELOPMENT_LANGUAGE)/string keyCFBundleLocalizations/key array stringen/string stringde/string /array Intents.intentdefinition is localized with the same languages with InfoPlist.strings file Main app target InfoPlist.strings has CFBundleDevelopmentRegion set to it's respective language. Sample below "CFBundleDevelopmentRegion" = "en"; I am able to confirm that the CFBundleDevelopmentRegion has the correct language/value during runtime (was able to print the CFBundleDevelopmentRegion value during debug) Localizations are detected in the Project Info When testing the intent within the shortcut app it shows the correct dialog/prompt. However when using it with siri: Occuring Result: Confirm Object? Expected/Correct Dialog Result: Are you sure you want this Object? Can confirm in this thread marked solution/answer - https://developer.apple.com/forums/thread/122235?answerId=385042022#385042022 that if I deliberately put a value on the the App Info.plist CFBundleDevelopmentRegion it would work on that language. But how to make this work for multiple languages?
1
0
1.3k
Mar ’21