I am in the process of localizing our application and used the following link to do most of the localizing. However, I still have Months in english and a couple items in the grid
Months is are appearing in English when I use the WPF grid. Is there a set of keys that I am missing? Based on my research everything says that Infragistics reads from the system Regional settings, but in my test environment I have an OS in the locale(Russian in this case) and still see the Months in English.
WinGrid - How do I localize ({0} items) and Grand Summaries? see screen shots
.
We are localizaing our application the same way that the blog describes. Are you saying that the Monthly text should be retrieved from the operating system? So that if we have a installation of Russian Windows the system should retrieve the Monthly text properly?
Hello,
I am checking if this is still an issue for you.
If you require any further assistance please do not hesitate to ask.
I work with michaelfraser and attached is the sample app that illustrastrates our issue. Basically, we need to know how to localize the months "January, February, March..." in the Russian locale. Any help to resolve this issue would be greatly appreciated.
Thank you for the provided sample application. I have been looking into it and in order to achieve the desired functionality you can declare the following method in the App class of App.Xaml.cs :
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
Thread.CurrentThread.CurrentCulture = new CultureInfo("ru-Ru", false);
}
This way the months will be displayed in Russian.
If you have any other questions on this matter, feel free to ask.
We tried the suggestion above on a Russian OS; however, the months are still in English.
It is very strange behavior. Does it work on English Windows because on my side everything goes right ? I am attaching the version of your project(months.zip) that I am using for tests and a screenshot of the XamDataGrid with the months in Russian.
Looking forward to hearing from you.
I am just checking if my last reply was helpful for you.
I am glad that you have found the reason for your issue. In order to determine what items to be displayed in the filter operator drop-down, I can suggest you look through the following link from our online documentation
http://help.infragistics.com/NetAdvantage/WPF/2012.1/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v12.1~Infragistics.Windows.DataPresenter.FieldSettings~FilterOperatorDropDownItems.html
If you need any further assistance on this matter, feel free to ask.
We were able to verify the solution as you described. Unfortunately, 10.2.20102.1029 for WPF 10.2 is already in our production environment. Until our next release cycle when we can upgrade to the last Service Release for 10.2, can you please show us how to remove the months filter operators from the drop down list?
Thank you,
Thank you for the provided sample application. I have been investigating the issue that you are having and I have succeeded in reproducing it using the .ddl files with specific version 10.2.20102.1029 for WPF 10.2. In the last Service Release for 10.2 this issue has been fixed. I can suggest downloading it as you need to go to our website : http://es.infragistics.com/ , click on Account in the upper left corner of the page. After logging with your account, you need to select the appropriate product( in your case 10.2) and then select the section Service Releases below.
Please let me know, if you need any further assistance on this matter.
Based on our testing and sample app (attached), we are proving that the system (.net) gets the date from the current culture, but for some reason, the XamDataGrid drop down list is not.
We added messageboxes to display the current cultureinfo information. In all instances, the months were displayed in Russian. Do you have any other recommendations? We would like to step into the XamlDataGrid load process to learn more. Is this even possible to do? Would you be able to tell how/where the month names are loaded?
Your prompt response is appreciated.