CoreTextServicesManager.InputLanguage returns wrong language #2431
Labels
Pri2
Topic is in the second 25% of page views for the repo.
uwp/prod
Topic product is UWP-related.
winrt-reference/tech
Topic technology is WinRT-related.
I have found that
Windows.UI.Text.Core.CoreTextServicesManager.InputLanguage.LanguageTag
may return wrong input language that is not the same as returned fromWindows.Globalization.Language.CurrentInputMethodLanguageTag
. It is wrong in case of some transient input languages (that doesn't have LCID).It seems there is same issue as I have already reported with LCIDToLocaleName API. LCIDToLocaleName returns same wrong language tags when I tried to convert transient LCID to a language tag.
It could be easily reproduced like this:
What Get-WinUserLanguageList PowerShell cmdlet returns:
Also reported here: dotnet/runtime#82367
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: