Change Language according to clients IP

Discussion in 'C#' started by rkstech, May 25, 2008.

  1. #1
    Hi

    I have a client who wish to show the contents in
    Turkish, English and Russian

    According to the IP address from where the website is seen

    We have done some programming and Used English as the default languge

    But as Google.com.tr - The turkish robots kick in the webpage shown is coming in English

    ANY Help is appriciated.

    The website is http://www.learn-global.com
     
    rkstech, May 25, 2008 IP
  2. iconico

    iconico Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You'll have to use a webservice lookup for it. Take a look on asp.net in their components gallery, I think I've seen one there.
     
    iconico, Jun 10, 2008 IP
  3. yugolancer

    yugolancer Well-Known Member

    Messages:
    320
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #3
    You can certainly find the client language preferences ... no need of using lookup services.

    
    Dim currentLang() As String = System.Web.HttpContext.Current.Request.UserLanguages
    Response.Write(currentLang(0))
    Code (markup):
    Voila :)
     
    yugolancer, Jun 11, 2008 IP
  4. bclassic

    bclassic Peon

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I wonder most google ip are listed in USA
    So wondering how your site serp going to be listed?
     
    bclassic, Jun 11, 2008 IP