Posted 5 September 2021, 6:38 pm EST
Hello,
Doesn’t have wpf flexviewer language support like pdfviewer?
Xaml property language=“de-DE“ doesn‘t work.
Greens
Forums Home / ComponentOne / WPF Edition
Posted by: sebastian-jn.k on 5 September 2021, 6:38 pm EST
Posted 5 September 2021, 6:38 pm EST
Hello,
Doesn’t have wpf flexviewer language support like pdfviewer?
Xaml property language=“de-DE“ doesn‘t work.
Greens
Posted 5 September 2021, 11:36 pm EST
Hello Sebestian,
It seems like you are not setting culture with the Language property.
You can set culture as :(see code snippet)
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");
Please refer the attached sample for the same : (see FlexViewerLanguage.zip)
Best Regards,
Nitin
Posted 6 September 2021, 7:28 pm EST
hello,
i already tried that.
I also tried to set the CurrentUICulture/CurrentCulture on Application_Startup event handler, nothing worked for me.
By the way, my apllication/thread already starting with de-DE Culture.
Pdfviewer worked for me out of the box with german language.
If i run the sample i don’t see german language too, only default english.
I used C1.WPF.Flexviewer.4.5.2 Version 4.5.20201.697 with .NET targetframework 4.8.
greetings from germany
Posted 6 September 2021, 10:07 pm EST
Hi Sebestian,
JFYI, German Language localization is added into 2020v2 till latest build and you are using 2020v1. You can refer https://www.grapecity.com/componentone/docs/wpf/online-releasehistory/2020v2.html
In order to change language as “de-DE” in your FlexViewer application, we suggests you to upgraded to the latest build.
Regards,
Nitin