Localisation width ASP.NET V2 -Whidbey
[20 mn de lecture - paru le 5/10/2005 12:26:14 PM - Public : Confirmé]
|
   
|
Auteur
1 Culture and Web Browser
1.1 About
The culture makes it possible to identify the country of the visitors and his area.
Example for France:
French [fr]
French (Belgique) [fr-be] French (Canada) [fr-ca] French (Luxembourg) [fr-lu] French (Monaco) [fr-mc] French (Suisse) [fr-ch]
1.2. Changing Web Browser preferred language
In your navigator Internet To explore go in Tolls >> Internet Options >> Languages...

In the dialog that is shown, click on the "Add" button to add a new culture and select a new culture. Press "OK".


1.3. Changing Web Browser's preferred language
To detect the culture in the navigator of the visitor you must invite the nameSpaceTreading
In your aspx page to call the culture as follows : Culture = <= Thread.CurrentThread.CurrentUICulture.ToString() %>
|