i can not find the resources string inorder to translate.
examples:
Hi,
you could find those strings in the DataVizualization assembly strings that should be located C:\Program Files (x86)\Infragistics\2013.2\WPF\CLR4.0\Bin\InfragisticsWPF4.DataVisualization.v13.2.resx if you've installed the product at the default location.
Hope this helps,
thanks you very much, i did find the files and it solved some of my problems. still cant locate the strings for filter drop downs in a xamdatachart. Specifically January-December.
Thank you again!
It is the drop down in a xamdatagrid that allows you to filter by certain criteria. In the drop down the months of the year are listed. I need to know how to translate this information
the lines of code below work fine for most items in the filter drop down. However i cant seem to find how to translated the months in my dropdown in the xamdatagrid
Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_ThisYear_Description", SmartLinkStrings.SpecialFilterOperand_ThisYear_Description); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_ThisYear_DisplayContent", SmartLinkStrings.SpecialFilterOperand_ThisYear_DisplayContent); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_Today_Description", SmartLinkStrings.SpecialFilterOperand_Today_Description); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_Today_DisplayContent", SmartLinkStrings.SpecialFilterOperand_Today_DisplayContent); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_Tomorrow_Description", SmartLinkStrings.SpecialFilterOperand_Tomorrow_Description); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_Tomorrow_DisplayContent", SmartLinkStrings.SpecialFilterOperand_Tomorrow_DisplayContent); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_Top_Description", SmartLinkStrings.SpecialFilterOperand_Top_Description); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_Top_DisplayContent", SmartLinkStrings.SpecialFilterOperand_Top_DisplayContent); Infragistics.Windows.Resources.Customizer.SetCustomizedString("SpecialFilterOperand_TopPercentile_DisplayContent", SmartLinkStrings.SpecialFilterOperand_TopPercentile_DisplayContent);
Hello Pete,
Thank you for your replies. I have been looking into them and the resource string for the month is “SpecialFilterOperand_Month_DisplayContent” and its default value is “{0}” and it is one for all the months of the year. In order to change the names of the months, you can handle the RecordFilterDropDownPopulating event of the XamDataGrid, where you can access all items in the drop down and change their DispalyName property as follow:
private void XamDataGrid_RecordFilterDropDownPopulating(object sender, Infragistics.Windows.DataPresenter.Events.RecordFilterDropDownPopulatingEventArgs e)
{
foreach (var item in e.DropDownItems)
switch (item.DisplayText)
case "January":
item.DisplayText = "Jan";
break;
case "February":
item.DisplayText = "Feb";
………………………………
I have created a sample application for you, that shows how you can implement this.
Also, the XamDataGrid provides localization for its resource strings for German, French and Spanish. Which means that if the CurrentCulture of the application is French, the XamDataGrid will show those strings in French.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Perfect! found another issue however. how do i translate print(ctrl+p) and export(ctrl+e) select all(ctrl+s) unselect all(ctrl+U) when using export/print functions with the xamdatagrid???
Thank you for your email. I have been looking into the requirement that you are having and I am not completely sure what exactly you wish to translate. Would you please provide me with more details on what do you mean by print, export, select all, and unselect all and if possible a screenshot that shows the strings that you would like to be translated?
Looking forward to hearing from you.
Thank you for your reply and the clarification on the matter. Please let me know if you need any further assistance on the matter.
i appologize we use more than one control library in our application, it appears this is not an infragistics control. THank you for your help with this issue and i appologize for my mistake.
Thank you for your reply and the attached screenshot. I have been looking into the screenshot and I am not completely sure from where this “Unselect All” popup is show and what exactly it is. Would you please provide me with the sample application from the screenshot, in order to investigate how the string can be localized?
attached is an example of the Unselect all(ctrl+U) string. the others i have mentioned are seen when scrolling over the 4 menu items shown in the screen shot.