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
Informations in the DatePicker are half-translated #2318
Comments
|
Agreed, this looks like a bug. We should be respecting the language that is specified in the current culture. |
|
@woltek If we change this, we won't be able to manually define a culture on the DatePicker. I found a way to change the default culture by the computer one. We have to add this in the App.OnStartup() event Moreover, it's commented in the demo app : https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/blob/master/MainDemo.Wpf/App.xaml.cs#L20 So in the end I don't know if it's really a bug. @Keboo Is this still a bug according to you? |
|
I agree that the method documented in the demo app is what should be done to set the language of your app. This is because WPF does not follow the system language. See dotnet/wpf#1946 However, we have had bugs where it code was not respecting the current culture. As long as the calendar properly updates after setting the language, I would say this is not an issue. |
|
Before saying that it is not a bug, we must test if when we put a different language of the computer, the information in blue is well translated in this language. I forgot to test this |
|
@Keboo So we can say that the problem is solved. We just need to write this information in the wiki so that other people know how to configure the language of an application that use MaterialDesignInXaml. It will also allow people to not think it's a bug whereas they just forgot a few lines of code. |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


Hello,

As you can see on the screenshot below, the text in the datepicker is half-translated :
Blue area is translated. Red areas are not translated.
Here is the calendar of my computer in comparison :

A mix of multiple languages in the same panel is not great for the user experience.
I think we should consider writing everything in English or translating everything into the language of the computer.
The text was updated successfully, but these errors were encountered: