Gu.Localization icon indicating copy to clipboard operation
Gu.Localization copied to clipboard

Usage IN Code,if i change the Language,the string can't change

Open pengqi1991 opened this issue 5 months ago • 0 comments

if i have a title, in resx, the apptitle is "app"; in the code public string Title { get { return GetValue(); } set { SetValue(value); } } ctor{ Title= Translate.Key(nameof(Resources.apptitle)) + " 1.0.0"; } in xaml <TextBlock Text="{Binding Title}"></TextBlock> When i change the language,the Title Can't change.

pengqi1991 avatar Sep 11 '24 08:09 pengqi1991