-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Culture de-DE issue with DataGrid #913
Comments
I wonder if this is related? NuGetPackageExplorer/NuGetPackageExplorer#716 I'm getting tons of WPF exceptions in Preview 6, but none from English. German, Russian, Spanish, Japanese, etc. |
@onovotny Last time we checked the translations there seemed to be wrong values for German only. The few errors I saw mentioned in your issue were certainly due to a German culture (strg is ctrl in German). Maybe we overlooked some others, or they all use a German keyboard 😉 |
@ryalanms Thanks for fixing this!! 👍 In dotnet core 3.0.100-preview7-012393 the fix doesn't seem to be available yet. I don't want to ask when it will be available as I'm sure it will come some day, but is there any way to see when this (or fixes for other issues) is in the dotnet core sdk? I asked this before in other issues, never got an answer, how can we see what is in a certain sdk? |
.NET Core3.0-preview6時点では以下の問題がまだ発生しているため。 dotnet/wpf#913
.NET Core Version: 3.0.100-preview7-012343
Windows version: Windows 10 1903 & Windows 7 (6.1 build 7601 Service Pack 1)
Does the bug reproduce also in WPF for .NET Framework 4.8?: No
Problem description:
When the UI Culture is de-DE, any interaction (wheel, click) with a DataGrid will throw an exception (see below). This is related to #684
Actual behavior:
Expected behavior:
No exception
Minimal repro:
https://github.com/Lakritzator/WpfDataGridCultureBug
In fact this is just a "dotnet new wpf", making sure the Thread.CurrentThread.CurrentUICulture is set to the "de-DE" culture, and change the grid in MainWindow.xaml to DataGrid.
Run the example, and use the scrollwheel (or click) on the DataGrid.
I was going to supply a PR, but I'm confused! In #796 the translations are reverted and seem to be okay.
But in the final file https://github.com/dotnet/wpf/blob/master/src/Microsoft.DotNet.Wpf/src/PresentationFramework/Resources/xlf/Strings.de.xlf#L2952 there are still translations which probably cause the issue.
And somehow I don't know where the changes come from...
Maybe @ryalanms knows what happened here.
The text was updated successfully, but these errors were encountered: