Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
XamDatagrid in chinese
posted

Hi,

I run a XamDataGrid in a multi lingual application.

Switching the CurrentCulture/CurrentUICulture and DataGrid.Language to either "de" (german) or "en" (english) works fine.
When switching to "zh" (chinese) the whole application is in chinese except the XamDataGrid.

How can I switch the XamDataGrid culture to chinese?

Best regards,

Tino

PS: See my CurrentUICulture below:

Thread.CurrentThread.CurrentUICulture

{zh}
calendar: {System.Globalization.GregorianCalendar}
Calendar: {System.Globalization.GregorianCalendar}
CompareInfo: {CompareInfo - zh}
compareInfo: {CompareInfo - zh}
CreatedDomainID: 1
cultureID: 127
CultureTypes: NeutralCultures | InstalledWin32Cultures
DateTimeFormat: {System.Globalization.DateTimeFormatInfo}
dateTimeInfo: {System.Globalization.DateTimeFormatInfo}
DisplayName: "Chinese"
EnglishName: "Chinese"
HasInvariantCultureName: false
IetfLanguageTag: "zh"
IsNeutralCulture: true
IsReadOnly: false
IsSafeCrossDomain: true
KeyboardLayoutId: 30724
LCID: 30724
m_consoleFallbackCulture: null
m_createdDomainID: 1
m_cultureData: {System.Globalization.CultureData}
m_dataItem: 0
m_isInherited: false
m_isReadOnly: false
m_isSafeCrossDomain: true
m_name: "zh"
m_nonSortName: "zh"
m_parent: {}
m_sortName: "zh"
m_useUserOverride: false
Name: "zh"
NativeName: "中文"
NumberFormat: {System.Globalization.NumberFormatInfo}
numInfo: {System.Globalization.NumberFormatInfo}
OptionalCalendars: {System.Globalization.Calendar[1]}
Parent: {}
Region: {CN}
regionInfo: {CN}
SortName: "zh"
textInfo: {TextInfo - zh}
TextInfo: {TextInfo - zh}
ThreeLetterISOLanguageName: "zho"
ThreeLetterWindowsLanguageName: "CHS"
TwoLetterISOLanguageName: "zh"
UseUserOverride: false