microsoft / microsoft/microsoft-ui-xaml
CalendarView shows non-localized names for the weekdays and the months when using HijriCalendar or UmAlQuraCalendar
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
Using a `CalendarView` with `CalendarIdentifier` property set to either `HijriCalendar` or `UmAlQuraCalendar` make the weekdays and months displayed in Arabic only, regardless of the current app language.
### Steps to reproduce the bug
1. Add a `CalendarView` control.
2. Set the property `CalendarIdentifier` to `UmAlQuraCalendar` or `HijriCalendar`.
3. Run on a non-Arabic device and observe the non-localized labels.
### Expected behavior
I expect the `CalendarView` to show weekdays and months names according to the app language as long as there is a supported `DateTimeFormatInfo` for the combination of the calendar and the language.
### Screenshots

### NuGet package version
WinUI 3 - Windows App SDK 1.7.0: 1.7.250310001
### Windows version
Windows 11 (24H2): Build 26100
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue by creating a CalendarView, setting CalendarIdentifier to UmAlQuraCalendar or HijriCalendar, and running on a non-Arabic device. Compare the weekday and month labels with the app language and verify that supported DateTimeFormatInfo combinations produce localized names.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, localization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100