Does SwiftUI have something like UIKit's accessibilityLanguage property?

I'm looking for an accessibility modifier (or some other method) in SwiftUI that does the same job as UIKit's accessibilityLanguage property:

https://developer.apple.com/documentation/objectivec/nsobject/1615192-accessibilitylanguage

We've got a few screens in our app for which the display language is server-dictated instead of device-dictated -- and without this property VoiceOver is reading Spanish with the English parser and accent when the device is set to English.

Thanks for any information.

So naturally, about 5 minutes after posting the question.... I found the answer. Use this modifier:

.environment(.locale, .init(identifier: "es"))

with the desired locale identifier.

Does SwiftUI have something like UIKit's accessibilityLanguage property?
 
 
Q