0

there's any way to binding and keep update when the localization change the TextBox.text with Two letter Iso Language name, as this way?

xmlns:glob="clr-namespace:System.Globalization;assembly=mscorlib"
<TextBox Text="{Binding Source={x:Static glob:CultureInfo.CurrentUICulture.TwoLetterISOLanguageName}}"/>

This gets the error , cannot find the member "TwoLetterISOLanguageName" on target Type

luka
  • 605
  • 8
  • 15

0 Answers0