microsoft / microsoft/WindowsAppSDK

Support PrimaryLanguageOverride from unpackaged apps

Open
#1,687 32 comments 9 reactions 2 assignees Assigned to @evelynwu-msft View on GitHub
area-MRTCore area-WinUI bug feature proposal needs-triage
Dominant language
C++
Stars
4.7k
Forks
471
Avg merge
3d 13h
Merged PRs (30d)
28

Description

when calling the following code from an unpackaged app, it throws an error. This is needed to be able to use `x:Uid` localization in XAML and control the language it picks.
```
App::App()
{
...
Windows::Globalization::ApplicationLanguages::PrimaryLanguageOverride(...)
...
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.