watchOS 26 Control Widget AppEnum Localize issue

I’m implementing a Control Widget for watchOS 26 Beta 5, using .promptsForUserConfiguration() so that users can select an option from an enum when adding the widget.

The overall functionality works fine, but when users configure the option, the enum’s corresponding text is not properly localized. My enum is defined like this:

static var caseDisplayRepresentations: [XXXType: DisplayRepresentation] {
        [
         XX1: .init(title: .init("text1", table: "xxx")),
         XX2: .init(title: .init("text2", table: "xxx")),
]
}

After the configuration is completed and the Control Widget appears in the Control Center or Smart Stack, the text is displayed correctly.

Same code on iOS work perfect.

watchOS 26 Control Widget AppEnum Localize issue
 
 
Q