Several languages

Results 1 to 2 of 2

Thread: Several languages

  1. #1
    Join Date
    Dec 1969

    Default Several languages

    How can i use my asp pages with one code but with supports several languages (English, Spanish, Portuguese) ?

  2. #2 Guest

    Default RE: Several languages

    The Request objects ServerVariables collection contains HTTP_ACCEPT_LANGUAGE which will return the client&#039s language settings. The code below illustrates how you could use this with your ASP:<BR><BR>&#060;%<BR><BR>Dim strLanguage<BR><BR>strLanguage=Request.ServerVaria bles("HTTP_ACCEPT_LANGUAGE")<BR><BR>If strLanguage="En-US" Then %&#062;<BR><BR>&#060;!--#INCLUDE FILE="myapp/Englishpage.asp"--&#062; <BR><BR>&#060;% End If %&#062;<BR><BR>Any good ASP reference guide will contain a list of returns for various languages.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts