Localization in Visual studio 2.0
Posted on 2006-06-13
Environment : Visual studio 2005 C#
Topic : Localization, Resource Files
I have created a web site and added a page "Sample.aspx" which has 4 labels.
I want to change the text of the labels according to the specific Locale at runtime.
.resx files stored in "App_LocalResources"
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-ae");
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("ar-ae");
the code works fine.
Now I want to put this .resx files in different folders instead of "App_LocalResources"
for e.g. "sample.aspx.en-gb.resx" in "EN" folder
"sample.aspx.ar-ae.resx" in "AR" folder
Also the .resx files should be editable after deployment.
Can anybody help me doing this functionality