SfRichTextBoxAdv and SfRichTextRibbon Localization
Hi,
I have gone through the example for the localization of the SfRichTextBoxAdv and I can find in it the resource files to be able to localize the controls but they are in French and German. Is it possible to hace access to the original english one so I can localize the controls into Spanish?
The documentation doesn't include a link to the resource files and maybe is a good idea to include those files in the documentation of those controls that allows localization or explain somewhere hot to access to such files.
Thanks so much in advance.
PS: Is it possible to use these 2 controls in an UserControl instead of inside a Window (or RibbonWindow)?
I have gone through the example for the localization of the SfRichTextBoxAdv and I can find in it the resource files to be able to localize the controls but they are in French and German. Is it possible to hace access to the original english one so I can localize the controls into Spanish?
The documentation doesn't include a link to the resource files and maybe is a good idea to include those files in the documentation of those controls that allows localization or explain somewhere hot to access to such files.
Thanks so much in advance.
PS: Is it possible to use these 2 controls in an UserControl instead of inside a Window (or RibbonWindow)?
SIGN IN To post a reply.
10 Replies
VM
Venkatesan Mani
Syncfusion Team
July 14, 2016 12:02 PM UTC
Hi David,
Thank you for contacting Syncfusion support.
Yes, you can have the SfRichTextBoxAdv anf SfRichTextRibbon in an UserControl. We have prepared a sample to demonstrate the same. Please find the sample from following link.
Sample Link:
But the SfRichTextRibbon Backstage Items (File tab) does not work well with UserControl. Because backstage items are implemented along with the RibbonWindow. We cannot separate Backstage items from RibbonWindow.
Please find resource file for English language from the following link.
Resource Link:
We will consider your suggestion and add the necessary details regarding localization functionality in our UG document.
Regards,
Venkatesan M.
DG
David García
July 20, 2016 04:00 PM UTC
Thank you so much for the response and for the resource files.
Now I can localize the controls.
Now I can localize the controls.
VM
Venkatesan Mani
Syncfusion Team
July 21, 2016 05:18 AM UTC
Hi David,
Thank you for your update.
Regards,
Venkatesan M.
HB
Heinz-Josef Bomanns
May 31, 2019 05:20 AM UTC
Hi,
we are facing a similar problem: We are building COM Add-Ins for Office based on WinForms, we have a Form with a WPF Elementhost that hosts a WPF UserControl with a SfRichTextBoxAdv in it. All in all this works fine, but we are not able to get the localization to run as described in section 'Localization' (https://help.syncfusion.com/wpf/sfrichtextboxadv/localization). Are there any settings we are missing for use in COM DLLs? Thanks for any hints on this...
RT
Ramya Thirugnanam
Syncfusion Team
May 31, 2019 12:28 PM UTC
Hi Heinz-Josef,
Thanks for contacting Syncfusion support.
We are validating the reported scenario with localization. We will get back to you with further details on June 4th, 2019.
Regards,
Ramya T
RT
Ramya Thirugnanam
Syncfusion Team
June 5, 2019 03:49 AM UTC
Hi Heinz-Josef,
Sorry for the inconvenience caused.
We are still validating the reported scenario with localization and Com dlls. We will get back to you with further details on June 12th, 2019.
Regards,
Ramya T
RT
Ramya Thirugnanam
Syncfusion Team
June 12, 2019 04:42 PM UTC
Hi David,
Please find the ways and simple sample to use Localisation in win forms (WPF as element host).
- A class library with Resources folder have been created.
- Included the resx file in Resources folder.
- Created a class with interface of SfRichTextBoxAdv in classlibrary.
- Referred the created class library in Win forms.
- Included the code snippet in the win forms
|
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-FR");
SfRichTextBoxAdvResourceWrapper.SetResources(typeof(SfRichTextBoxAdvExtension).Assembly, "Wpf_ClassLibrary");
|
sample link http://www.syncfusion.com/downloads/support/forum/124998/ze/Localization_winforms-1946048083.zip
Regards,
Ramya T
HB
Heinz-Josef Bomanns
July 5, 2019 06:14 AM UTC
Hi Ramya,
Attachment: SF_Problems_d70286d7.zip
thanks for your response, it helped us to manage the localization of SfRichtextBoxAdv based on Syncfusion.SfRichTextBoxAdv.WPF.resx as needed. But there are two elements we can't translate this way - in the MiniToolbar in the dropdowns for Bullet and Numbering Lists it still says 'None' and there seems to be no entries in the RESX for the dropdown for the Font Color - see attached hardcopies. Can you please provide me with the appropriated RESXs files where this elements can be translated? Thanks!
PS: In the MiniToolbar are two buttons/images 'B' and 'I' for 'Bold' and 'Italic' - is it possible to replace the images? In germany for e.g. it should be 'F' and 'K'?
Attachment: SF_Problems_d70286d7.zip
RT
Ramya Thirugnanam
Syncfusion Team
July 5, 2019 03:38 PM UTC
Hi David,
We have fixed one of the reported issue with “ColorPickerPalette”. Please find the code example for resource and sample as below.
|
Syncfusion.Windows.Shared.Resources.ResourceWrapper.SetResources(typeof(SfRichTextBoxAdvExtension).Assembly, "Wpf_ClassLibrary"); |
The sample for the same is attached https://www.syncfusion.com/downloads/support/forum/124998/ze/Localization_winforms1563251728.zip
We are validating the issue bullets and numbers. We will get back to you with further details July 9th 2019.
Regards,
Ramya T
RT
Ramya Thirugnanam
Syncfusion Team
July 10, 2019 02:39 AM UTC
Hi David,
We have created sample to achieve you requirement. Please find the sample as below.
Sample : https://www.syncfusion.com/downloads/support/forum/124998/ze/Localization_winforms1076310464.zip
Please find the steps to change the image.
- Change the image as per the language needed in Images folder of Wpf_ClassLibrary
- And Rename the same as shown in code snippet.
|
<Image Height="40" Width="40" Source="/Wpf_ClassLibrary;component/Images/List/Bullet/Bullet_None_Localized.png"/> |
Regards,
Ramya T
SIGN IN To post a reply.
- 10 Replies
- 4 Participants
-
DG David García
- Jul 13, 2016 10:40 AM UTC
- Jul 10, 2019 02:39 AM UTC