You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented everything correctly and the text changes according to the initial value of the language. Now I should make the app change the language in runtime on clicking a MenuFlyoutItem, could I have an example? the app is packaged and not built with TemplateStudio
The text was updated successfully, but these errors were encountered:
In the Page.xaml.cs private void selectLanguage(object sender, RoutedEventArgs e) { App.localizer.SetLanguage("en-US"); }
And in the App.xaml.cs i have changed this public static ILocalizer localizer { get; set; } localizer = await new LocalizerBuilder() .AddStringResourcesFolderForLanguageDictionaries(stringsFolder.Path) .SetOptions(options => { options.DefaultLanguage = "it-IT"; options.UseUidWhenLocalizedStringNotFound = true; }) .Build();
I implemented everything correctly and the text changes according to the initial value of the language. Now I should make the app change the language in runtime on clicking a MenuFlyoutItem, could I have an example? the app is packaged and not built with TemplateStudio
The text was updated successfully, but these errors were encountered: