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)
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
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:
Expected/Correct Dialog Result:
Can confirm in this thread marked solution/answer 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?
Code Block <key>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> <key>CFBundleLocalizations</key> <array> <string>en</string> <string>de</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
Code Block "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 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?