Last post May 30, 2011 02:25 AM by Yanping Wang - MSFT
May 26, 2011 02:39 AM|ismail.nasar|LINK
Dear All ,
we have an web application now we like to add new regional languges like PASHTO or Persian or URDU (which has option which languge do u like ) how to add these funcation could u any one tell me ,,, so do we need to change in Database tooo or not
May 27, 2011 04:18 AM|Yanping Wang - MSFT|LINK
Thanks for your post.
You can use resources to customize your application for a chosen culture and locale
At first, create a set of resource files (.resx), one file for each language, stores localized text.
Then, in your page, you indicate that controls should use resources for their property values. the following code example shows that lets users select their regional language from a drop-down list.
protected override void InitializeCulture()
if (Request.Form["ListBox1"] != null)
String selectedLanguage = Request.Form["ListBox1"];
UICulture = selectedLanguage;
Culture = selectedLanguage;
Thread.CurrentThread.CurrentUICulture = new
<form id="form1" runat="server">
<asp:ListBox ID="ListBox1" runat="server">
<asp:Button ID="Button1" runat="server" Text="Set Language" meta:resourcekey="Button1" />
<asp:Label ID="Label1" runat="server" Text="" meta:resourcekey="Label1" />
At run time, the browser indicates the user's regional language, ASP.NET selects the appropriate .resx file, and the controls' property values are derived from the resource file.
Detailed culture information appears in the
National Language Support (NLS) API Reference at the Go Global Developer Center.
More details please refer:
Hope this helps, thanks.
May 30, 2011 01:16 AM|ismail.nasar|LINK
Dear Sir ,
i have application i have to add new languges the application is english i have to add Pashto will i have to make another database to get value from database or it will do by third party software ,, i m really confused what to do ,,
May 30, 2011 02:25 AM|Yanping Wang - MSFT|LINK
thanks for your reply,
above reply I explained how to localization the static content(for example: label) for application.
for database content localization, in my experience, you can define specific field in each table for different language or customize program to connect different dababase according the language chosen.
also, I found a thread similar to your requirement , please refer:
hope this helps, thanks.