Localization

Hi there,

I have a big problem with the localization of SfRichTextBoxAdv and SfRichTextRibbon in a WindowsForms application.

I created WPF UserControl with 1 x SfRichTextBoxAdv and 1 x SfRichTextRibbon and host it in a WinForms Form.

Works well. Unfortunately I can't get the localization under control.

I created the corresponding resource files (Culture de) and integrated the corresponding reference > Thread.CurrentThread.CurrentUICulture = New System.Globalization.CultureInfo("de-DE") < into the code of the MainForm.

I also tried the reference, both in the code behind the UserControl and also in the code of the WinForm hosting the UserControl. No reaction, only the English localization.

I also have a WinForms form in the app hosting a WPF-PDFViewer UserControl. The localization with the LocalizationManager works in that case  wonderfully.

I don't know what to do next, can you help me?

Thanks in advance.


Regards

Helmut


3 Replies 1 reply marked as answer

KG Kalaivannan Ganesan Syncfusion Team March 23, 2022 05:15 PM UTC

Hi Helmut,

We are working to reproduce the reported issue form our side. We will update you with the further details on or before 25th March 2022.

Regards,
Kalaivannan Ganesan
 



KG Kalaivannan Ganesan Syncfusion Team March 25, 2022 11:48 AM UTC

Hi Helmut,

We have created a sample application with SfRichTextBoxAdv and SfRichTextRibbon are maintained under usercontrol and the usercontrol is hosted in the WinForms form by the Element host.
 
For reference, we have added resource file and localization have been done for the French language, by referring them you can add your resources files for other languages based on your requirement 
The Sample can be downloaded from the below location
https://www.syncfusion.com/downloads/support/forum/173843/ze/RTE_Form-1546486644


Regards,
Kalaivannan Ganesan
 


Marked as answer

HE Helmut March 28, 2022 09:05 AM UTC

Hello Kalaivannan,

thank you very much for your quick help.
Now it works.
Once more many thanks.

Regards

Helmut 


Loader.
Up arrow icon