Hello,
Is there a way to re-template or re-style summary dialog? I would like to localize some text on dialog controls (i.e. buttons)
Thank you.
Can you please reply?
Hello dprosko,
Has this issue been addressed?
WPF is easier for localization, as Matt pointed out. It allows a StringCustomizer to be used, and gives a list of customizable strings. For Silverlight, this is still possible, but the method is different.
There are two options for localizing the dialogs (like the grid's summary dialog).
1. You can download the source code from our website. Look for a strings.resx file under xamGrid. Copy this file, rename it to strings.[your language id].resx, and translate it. When you rebuild the assembly's project, this should create a xamGrid assembly that uses English strings by default, and your localized strings whenever it is run on an OS with a matching language (ex. Japanese on a Japanese operating system).
2. You can set the custom text in XAML or in the code behind. For the summary dialog, please refer to this sample's code for more information (click on the < /> tab on the right).
Elizabeth Albert
Localization Engineer
Maybe WPF is much better than Silverlight but I have a Silverlight application and we don't plan to migrate to WPF.
Looks like we have an only option - to recompile a source code. I don't see any options to translate "Cancel" button caption :) This is the only reason I have to retemplate dialog window.
It should be possible to translate the "Cancel" button caption using the following property.
Infragistics.Controls.Grids.Primitives.SummarySelectionControl.CancelCaption
Please view this API page for more information.
This approach should be much easier than translating the entire run-time strings resource file.
HI,
I am attaching a sample that re-templates the SummarySelectorControl.
You can change the Okcaption and CancelCaptions.
Sincerely, Matt Developer Support Engineer
Thank you very much
I discussed this with a developer, and that property might not be accessible. He suggested, as you did, to retemplate the SummarySelectionControl.
I will ask Developer Support to open a case for you and assist you with retemplating the control.