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 can you provide an alternating color scheme in a Repeater control?
what is a .xap file? Explain with an example.
Explain the components of web form in asp.net
What is use of <% %> in asp.net?
What are all the various Estimation Techniques available ?
What is a ashx file?
What is different authentication mechanisms used in ASP.NET?
What is .net remoting?
How to sign out from forms authentication?
What is the difference between pathparam and queryparam?
What does uri mean?
can sn.exe can be used before gacutil.exe
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)