Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

i'm developing an sharepoint website with multi-language support. user can select the preferred language which is listed in dropdown. based on the selected language content should be changed (fetched from resource file). i've tried by changing the cultureinfo but nothing worked out.

What I have tried:

my snippet:

SPSite currentSite = SPContext.Current.Site;
SPWeb currentWeb = currentSite.RootWeb;
currentWeb.Locale = new System.Globalization.CultureInfo(culture); // nl-NL, fr-FR
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900