Hi!
So I have been adding translations ok so far. I have two translations files
Syncfusion.PdfViewer.WPF.fi.resx
Syncfusion.Shared.Wpf.fi.resx
PdfViewer part translates everything ok but this color palette picker looks like getting values under shared but it's still not translating them.
I have used this
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fi");
But for some reason what ever I do it's not changing this color palette pickers. How I could get translations for those a well?
Same happens if I add same color picker to toolbar
All nuget packages are up to date in 25.1.37 version
Hi Mika,
We have created sample based on your requirements. We suggest setting CurrentUICulture before InitializeComponent. Below, you'll find the code snippet and a sample for accomplishing this.
Code snippet:
public MainWindow()
{
System.Threading.Thread.CurrentThread.CurrentUICulture = new
System.Globalization.CultureInfo("fi");
InitializeComponent();
}
Regards,
Raghavendra S
Hi,
Your example project works but it didn't fix issue what I am having. I tried to replicate issue again creating new fresh project and looking how you had done that example. I was able to reproduce it. What I am going wrong here?
Hi,
I posted reply above but forgot to answer it as reply. So added this comment just in case if my above text didn’t sent notification
Greetings
Mika
Hi Mika,
We have confirmed the reported scenario is a defect and logged a report for the reported scenario “Localization is not working in NetCore projects of Shared WPF repository”. We will provide the fix in the Weekly NuGet release on 30th April 2024.
You can track the status of this defect using the following feedback link: Localization is not working in ColorPickerPalette control in WPF | Feedback Portal (syncfusion.com)
If you have any more specification replication procedures or a scenario to be tested, you can add it as a comment in the portal.
Please let us know if you need any further assistance.
Note: The provided feedback link is private, and you need to log in to view this feedback.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Karthick Arjunan
Hi Mika,
We have included the fix for the reported issue “Localization is not working in NetCore projects of Shared WPF repository” in our Weekly NuGet release version 25.1.42 which is available for download ( https://www.nuget.org/).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.
Regards,
Karthick Arjunan