I created a spreadsheet control.
The language of the context menu is English.
Is it customizable in any way?
I found a similar question from 12 years ago. Hope some things changed since then ;)
Hello,
There is no build in mechanic that will translate the control to another language, however there is a simple way to change the language. The down side of it is that you will have to do all the translating.
Please have a look at the following documentation from our website:
https://www.infragistics.com/help/winforms/win-customizing-assembly-resource-strings
A sample code will look like this:
private void Form1_Load(object sender, EventArgs e) { ResourceCustomizer rc; rc = Infragistics.Win.UltraWinSpreadsheet.Resources.Customizer; rc.SetCustomizedString("UltraSpreadsheet_ContextMenuItem_Copy", "L'exemplaire"); rc.SetCustomizedString("UltraSpreadsheet_ContextMenuItem_Cut", "절단"); rc.SetCustomizedString("UltraSpreadsheet_ContextMenuItem_Paste", "Einfügen"); }
Should you have any further questions, please let me know.
Sincerely,
Tihomir TonevAssociate Software DeveloperInfragistics
It worked very well for the context menu.
Is it also possible for the "Format Cells" dialog?
I didn't found the ressource string references for it.
Hello Sven,
It would seem that some of the entries are missing on the website, so i have went forward and extracted the resources list from the dll and attached it here. You can use an editor like notepad++ to open it and search by the default values for the string keys. For instance, the key in the context menu for format cells is "MenuItem_ShowFormatCellsDialog", which you can find by searching for "Format Cells...". The key for the dialog title from the attached screenshot is "FormatCellsDialog_Title".
You can refer to the attachment for all keys related to this assembly.
Should you have more questions, please let me know.
Infragistics.Win.UltraWinSpreadsheet.strings.zip