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 |
Using code explain Configuration Management
What are different templates available in Repeater,DataList and Datagrid ?
what is loosely coupled solution? How it can be used?
How do we access view state value of this page in the next page?
What is the concept of view state in asp.net?
What are different types of api?
Where the viewstate is stored after the page postback?
What is the difference between managed and unmanaged code? *******
How to implement form based authentication in asp.net application?
How many Garbage Collectors are there for one Application or one Page
How Clustered Index and Non clustered index stored on SQL server?
if we establish the cinnection with connection string tag in web.config file,can i go for encrypt and decrypt with that?