Ribbon Localization
Hi folks,
atached I send a pic of to parts of sfRibbon: File text and backstage back tooltip. How can I localize them?
Cheers
Attachment: ribbon_3dbb3ee5.7z
atached I send a pic of to parts of sfRibbon: File text and backstage back tooltip. How can I localize them?
Cheers
Attachment: ribbon_3dbb3ee5.7z
SIGN IN To post a reply.
6 Replies
KJ
Keerthana Jegannathan
Syncfusion Team
February 26, 2018 11:09 AM UTC
Hi Josep,
Thank you for contacting Syncfusion support.
In SfRibbon, you can localize the text of the BackStageButton directly using the “BackStageHeader” property and tooltip of the BackStageBackButton can be localized by follow the below steps
1. Right-click on the project, select Add and then NewItem.
2. In Add New Item wizard, select the Resource File option and name the filename as Syncfusion. SfRibbon.UWP.Resources.<culture name>.resw .
3. Add the Name/Value pair in Resource Designer of Syncfusion.SfRibbon.UWP.Resources.de.resw file and change its corresponding value to corresponding culture.
4. Application culture can be changed by setting CurrentUICulture before InitializeComponent()method.
We have prepared a simple sample in which we have localized the values of BackStageBackButton ToolTip and BackStageHeader and it can be downloaded from the below location.
Regards,
Keerthana J
JO
josep
February 26, 2018 11:23 AM UTC
Hi,
thanks for this example. It works, but where can I fins the complet list of Syncfusion.SfRibbon.UWP.Resources.resw names?
Cheers
thanks for this example. It works, but where can I fins the complet list of Syncfusion.SfRibbon.UWP.Resources.resw names?
Cheers
KJ
Keerthana Jegannathan
Syncfusion Team
February 27, 2018 05:45 AM UTC
Hi Josep,
You can find the complete list of Syncfusion.SfRibbon.UWP.Resources.resw names with default values in the file available from below location.
Regards,
Keerthana J
JO
josep
February 27, 2018 07:21 AM UTC
Thanks for updating.
JO
josep
February 27, 2018 08:09 AM UTC
I'm sorry, how can I localize 'File' tab text? It is not included in zipped Syncfusion.SfRibbon.UWP.Resources.resw
Cheers
Cheers
KJ
Keerthana Jegannathan
Syncfusion Team
February 28, 2018 04:22 AM UTC
Hi Josep,
As we mentioned earlier, you can localize the text of BackStageButton(File tab) using the “BackStageHeader” property directly. As the value of this property varies for each application, we are not included this in our “Syncfusion.SfRibbon.UWP.Resources.resw”. Please let us know if you need further assistance on this.
Regards,
Keerthana J
SIGN IN To post a reply.
- 6 Replies
- 2 Participants
-
JO josep
- Feb 23, 2018 09:42 PM UTC
- Feb 28, 2018 04:22 AM UTC