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 |
How we can force all the validation controls to run?
Define reflection in .net?
What is the differences between a primary key and a unique key in sql server?
What does session_start () do?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is the difference between User Controls and Master Pages
22 Answers Deloitte, IBM, IntraLogic, Markit, TCS,
i cant get Primary output selection from the Dialog box While Creating Setup and Deployment the web application how to solve it..
Can master pages be nested?
Derive WSDL?
How do you bind array to gridview? Will it works?
What is the difference between runtime version and version?
How to do Forms authentication in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)