Hello,
The following documentation page on our website describes how to access and modify the strings in the NetAdvantage for WPF controls:
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.2/CLR3.X/html/WPF_Customize_Assembly_Resource_Strings.html
There is a simple API you can call where you access a resource string by a key and modify it at run time.
I do not see a webpage which lists the constant key names for the XamDataTimeEditor. I have sent an email to engineering with this information and will try to get that to you as soon as possible.
Thanks!
I found out that the strings used for days and months come from the OS. To change these strings, you will need to set the system locale.
The following website will give you some insights into thsi subject.
http://serialseb.blogspot.com/2007/04/wpf-tips-1-have-all-your-dates-times.html
Please post back more details for what you want to accomplish if you need further assistance.
This is not entirely accurate. The values of things like the CalendarItemGroupTitle are set to a binding based on the date of the group and a .net DateTime format string. The format string is not locale specific. Bindings in WPF get their Culture based on the FrameworkElement.Language property. This is an inherited property which defaults to en-US. The article that Curtis mentioned discusses one approach to initializing the Language based on the CurrentCulture. Changing the Language would change the Culture that WPF passes to the bindings and therefore would affect the resulting month name, day of week name, etc. that you will see in the control. If you still need more control over what you see then you can retemplate the respective elements - we ship the default styles - but I think this would be a rare case.
Ok, thanks for your help.
The links have been changed, so please find the corresponding ones below:
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=WPF_Assembly_Resource_Strings.html
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=WPF_Customize_Assembly_Resource_Strings.html
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=WPF_Editors_Resource_Strings.htmlIf you have any other questions please feel free to let us know.
links are invalidated.
That one is covered in section of topics that Curtis referred to:
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.2/CLR3.X/html/WPF_Assembly_Resource_Strings.html
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.2/CLR3.X/html/WPF_Editors_Resource_Strings.html
In this case, the last string of the last link - TodayButtonCaption.
this solution works fine, but not for "today" label, this not depends of the current language, spanish in my case.
Any idea?
Thanks.