Last post Aug 30, 2007 01:40 AM by Dave19
Aug 08, 2007 02:10 PM|Dave19|LINK
I'm uisng asp.net 2.0 and VS2005
I wanna know if anyone can suggest methods for the following scenarios:
The application is being done in two lanaguages such as english and french.
1) An English web server hosting the application. I would like to know if I'm using country flags, how to change the content to be read in the chosen language since i'll be using only a single page.
2) Same as 1 but the application is being hosted on a french web server. there's prob with the date format
Thanks in advance
Aug 08, 2007 05:44 PM|TATWORTH|LINK
Look at http://www.guysmithferrier.com/ and in particular at Guy Smith's book
ISBN 0321341384. The book is available online at Safari books at http://safari.oreilly.com/0321341384
Aug 09, 2007 01:40 AM|Dave19|LINK
DO you know a way to get information abt the installation language of w2k3 + asp.net?
Aug 09, 2007 03:54 AM|Caligares Krom|LINK
Aug 09, 2007 04:45 AM|mystery|LINK
I think that satellite assemblies is what you are looking for:
You can chnage the date format by chnaging the current culture or by printing in specific culture info for example:
Aug 13, 2007 02:07 AM|Dave19|LINK
I'll try it.
Let say I install a french web server and add my web application.
In the page_load , should I put the following code:
1 Dim language
2 language = Split(Request.ServerVariables("HTTP_ACCEPT_LANGUAGE"), ",")
4 dim strLanguage as string
8 select case strLanguage
10 case "en"
12 dateAsString = date.tostring(new system.globalization.cultureInfo("en-us").DatetimeFormat)
14 case "fr"
16 dateAsString = date.tostring(new system.globalization.cultureInfo("fr-fr").DatetimeFormat)
18 case else
20 End select
Thnks in advance
Aug 13, 2007 02:26 AM|mystery|LINK
I think this video will help you:
Aug 13, 2007 03:13 AM|Dave19|LINK
I'll view it
Aug 30, 2007 01:40 AM|Dave19|LINK
Finally I'll use what was taught in the video + the resources.
It's working perfectly