How do you set language in web.cofig ?
Answers were Sorted based on User's Feedback
Answer / ram
? To set the UI culture and culture for all pages, add a
globalization section to the Web.config file, and then set
the uiculture and culture attributes, as shown in the
following example:
<globalization uiculture="es" culture="es-MX" />
? To set the UI culture and culture for an individual page,
set the Culture and UICulture attributes of the @ Page
directive, as shown in the following example:
<%@ Page UICulture="es" Culture="es-MX" %>
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / shenil tom
add a
<system.web>
<globalization uiculture="" culture="" />
in the web. config section
or set both through dynamic coding..
Eg:
set uiculture in InitializeCulture page method override.
protected override void InitializeCulture()
{
this.UICulture = "he";
}
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / shaik mujahid ullah
Setting up a language are of 2 types
one is compilation language of webapplication for which
you can try with this code
<configuration>
<system.web>
<compilation defaultLanguage"VB"></compilation>
</system.web>
</configuration>
Second is regional / culture language it can be set with
the following code
<system.web>
<globalization uiCulture="en" culture="en-GB" />
<!-- more stuff-->
</system.web>
Is This Answer Correct ? | 9 Yes | 1 No |
hi wrever i go thy r asking depth abt 3-tier architecture i.e, hw to deploy 3 layers into 3 servers i do nt have much idea on deployment. can any one send me the tips or code if u hav kindly mail me.
What is asp.net and its advantages?
What is cookieless session id explain in brief?
What is difference between response.redirect and server.transfer ?
2 Answers Kalinga Software, Satyam,
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
1 Answers Cap Gemini, Keane India Ltd, MindSquare,
What are Session states available and its Uses?
Differences between session state and Application state?
What r new things introduced in ASP.NET 2.0 in comparision to ASP.NET 1.1
What are the advantages of the code-behind feature?
What is server components?
What is the asp.net control toolkit?
What is web api and why to use it?