What is the purpose of Language API? #1256
Answered
by
evelynwu-msft
JeganRavichandran
asked this question in
Q&A
-
I am a control developer, I want my control to support location, globalization. I want my control to follow Microsoft's way instead of solving using explicit APIs. There are some APIs to change the culture of an application.
Question:
|
Beta Was this translation helpful? Give feedback.
Answered by
evelynwu-msft
Aug 20, 2021
Replies: 1 comment 3 replies
-
I recommend familiarizing yourself with this documentation on MSDN that goes over the resource management system used for Windows apps, and in particular this section on how to provide localized strings.
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
btueffers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recommend familiarizing yourself with this documentation on MSDN that goes over the resource management system used for Windows apps, and in particular this section on how to provide localized strings.
System.Threading.Thread.CurrentCulture/CurrentUICulture
are .NET concepts. I'm not familiar with their implementation so I can't say just how far down the stack they go (i.e. do they apply only to .NET code or would they also affect native code in the process like WinUI). MSDN has pretty thorough documentation on both ApplicationLanguages.PrimaryLanguageOverride and FrameworkElement.Language. It should be noted that the latter only affects text formatting e.g. font fallback..resw
is…