This question is locked. New answers and comments are not allowed.
Hello,
please assist me with a localization problem I have when changing the culture info without reloading the page.
I have a grid and a pager translated in several languages.
The translation works perfectly when the culture is set before the page is loaded. Then the grouping header, the filter dialog and the pager are shown in the certain language.
When I change the cultureinfo when the page is already loaded then just the filter dialog is shown in the new language. The grouping header and the pager texts are not refreshed.
I'm firing an event when the language changes and tried the following code to change the language on the fly, but this way seems not to work.
Thanks
Uwe
please assist me with a localization problem I have when changing the culture info without reloading the page.
I have a grid and a pager translated in several languages.
The translation works perfectly when the culture is set before the page is loaded. Then the grouping header, the filter dialog and the pager are shown in the certain language.
When I change the cultureinfo when the page is already loaded then just the filter dialog is shown in the new language. The grouping header and the pager texts are not refreshed.
I'm firing an event when the language changes and tried the following code to change the language on the fly, but this way seems not to work.
void _appSetting_OnLanguageChanged(object sender, LanguageChangedEventArgs e) { LocalizationManager.DefaultCulture = e.CultureInfo; } Thanks
Uwe