Hello Community!
I would like to know which languages the WPF controls support.Is russian already supported or is there a plan to include the russian resources in one of the next releases?
If it is not supported, can I get the resx files for translation?
Thank you for the information
Hello,
The supported localization resources are located in the Infragistics folder on your machine (a path similar to C:\Program Files (x86)\Infragistics\2013.2\WPF\CLR4.0\Bin). There is a folder for each language – German, French and Spanish. Currently we do not provide Russian localization strings. You can manually change the resource strings. Here are a couple of links from our documentation with more information on the matter:
http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/Developers_Guide_Customizing_Resource_Strings.html
http://help.infragistics.com/Help/Doc/WPF/2011.2/CLR4.0/html/WPF_Customize_Assembly_Resource_Strings.html
You can find the resource strings of the controls in our online documentation. The following page is about the strings for the DataPresenter: http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/WPF_DataPresenter_Resource_Strings.html
Hello Maria!
Thank you for the articles.
The conclusion for "Customizing Resource Strings" is that I asssigne a complete resx file - which is included in my dll - to the infragistics type. Do I have to call the method for each instance that I am creating or is the ressource added to all instances within my application as soon as the method is called?If I apply a custom resource file to a control, is the control switching the language during runtime? Or must the language specified before the controll is created/opened
The other article is usefull if I want to translate only certain strings. Is this right?
Why can't I just create my own language folder with all my resources.dll for the controls?
Why can I register resources for the XamGrid but not for the XamDataGrid?
Hi,
The resource strings are applied to all instances in your application once the method that sets them is being called. Please note that this code should run before the user interface is being initialized. In order to achieve that you can use an OnStartup handler in the App.xaml.cs:
protected override void OnStartup(StartupEventArgs e){
base.OnStartup(e);
//change resources here
}
The second article shows how certain strings could be modified inline. In order the resources to be used they should be associated with these controls. If you are adding custom resources, you should follow the steps in the articles to change the strings just adding a folder with resources to the project would not be enough. Could you provide a sample project of how you are applying these resources so I could look into it? Thank you.
Thank you very much for your informative answers.
I have another point found that disturbes me a little bit. Considering the information from the "Customizing Resource Strings" document (http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/Developers_Guide_Customizing_Resource_Strings.html) - the XamDataGrid is not listed as supported control.
From the list with the supported controls I have found only the "xamGrid" and "xamMenu" which we are using in our application. I had a look into the folder "C:\Program Files (x86)\Infragistics\2013.2\WPF\CLR4.0\Bin" and retrieved the resource files from there for the two controls.
While checking the other resx files, I saw that there are resource files for controls which are not listed in the "Customizing Resource Strings" document e.g. "InfragisticsWPF4.Documents.Excel.v13.2.resx". Then I checked the "\de" folder for the content and found that there even is a "InfragisticsWPF4.DataPresenter.v13.2.resources.dll". I opened the resource dll in Teleriks "JustDecompile" and saw all the localized strings for german in the file. You even pointed me to the help file http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/WPF_DataPresenter_Resource_Strings.html which lists the customizable resources. Why is the DataPresenter not listed as customizable in http://help.infragistics.com/Help/Doc/WPF/2013.2/CLR4.0/html/Developers_Guide_Customizing_Resource_Strings.html?
Could it be that the "Customizing Resource Strings" document is not up to date?
you for your patience and answers.
PS: I have not found a resx file for the DataPresenter
Can you inform the programmers of the forum that it would be great if ansers could be edited within a certain time period?
Thank you for your patience and answers.