S
Savvoulidis Iordanis
Starting to practice localization/globalization, I have a master page
containing a autopostback combobox (XML datasource based) with all the
languages my site supports. What should I write (and where, content or
master?) so that when the user selects a language, the current page refreshes
and displays texts in the new language?
All my .resx files are created in advance, for all languages, but I can't
figure out how to active them in the new language. I don't want to depend
only on browser language settings, but let the user select a language he
wants.
In the master page, I tried (VB):
Page.UICulture = combo_language.Value
Page.Culture = combo_language.Value
but i see no changes after refresh.
In the browser settings, I have deleted all languages in the list, but still
no changes after refresh, although language dependent database data are
displayed, using code that gets the selected lang, as a session parameter
TIA
containing a autopostback combobox (XML datasource based) with all the
languages my site supports. What should I write (and where, content or
master?) so that when the user selects a language, the current page refreshes
and displays texts in the new language?
All my .resx files are created in advance, for all languages, but I can't
figure out how to active them in the new language. I don't want to depend
only on browser language settings, but let the user select a language he
wants.
In the master page, I tried (VB):
Page.UICulture = combo_language.Value
Page.Culture = combo_language.Value
but i see no changes after refresh.
In the browser settings, I have deleted all languages in the list, but still
no changes after refresh, although language dependent database data are
displayed, using code that gets the selected lang, as a session parameter
TIA