I am using asp.net localization to try and create a multi-langauge website, basically i have two global resources one for english and another for arabic.
i added a dropdown list containig the two languages:
<asp:DropDownList runat="server" ID="changeLang" AutoPostBack="true" >
<asp:ListItem Value="en">English</asp:ListItem>
<asp:ListItem Value="ar">Arabic</asp:ListItem>
</asp:DropDownList>
and i am using this code-behind:
protected override void InitializeCulture() //changing the languages
{
string lang = Request["changeLang"];
if (lang != null && lang != "")
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo(lang);
Thread.CurrentThread.CurrentC ...
Go to the complete details ...