translate webpage according to GEO location

Discussion in 'Traffic Analysis' started by fl0w, Nov 19, 2008.

  1. #1
    Is there a tool or a way to translate a requested loading webpage according to the origins (IP, region) of the viewer.

    Illustration below:

    Person A in Japan comes to my site which is in English, as soon as he starts loading my webpage a java-script checks and sees Person A is from Japan and converts my english webpage to Japanese language, Person A will also have the option on converting it back to English.

    Is that possible? does anyone know of a method that might work similar to what is being described above?
     
    fl0w, Nov 19, 2008 IP
  2. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, it is possible. There are a few ways to do it, but none of them are technically simple. You might have an easier time using a server-side re-direction based on the users location.
     
    gostats, Nov 20, 2008 IP
  3. fl0w

    fl0w Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Could you or someone elaborate on this specific method you mention?

    Ta
     
    fl0w, Nov 25, 2008 IP
  4. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The serverside re-direction would use a geo-location database to determine which url it will redirect the requests to. For example, if you are using apache, you would setup and entry in your .htaccess file to forward visitors to your home page to a re-direction script which uses the database of IPs to determine which customized language url to send them to.
     
    gostats, Nov 27, 2008 IP
  5. carfinance

    carfinance Peon

    Messages:
    156
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I really dont know about this topic if i will get any information then i will send you.........................!
     
    carfinance, Nov 27, 2008 IP
  6. carfinance

    carfinance Peon

    Messages:
    156
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I really dont know about this topic if i will get any information then i will send you.........................!

    Home Mortgage Refinance
     
    carfinance, Nov 27, 2008 IP
  7. fl0w

    fl0w Active Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #7
    What about if I am using blogger/blogspot? any advise about a re-direction in blogger by some scripts or something?

    Thanks
     
    fl0w, Nov 27, 2008 IP
  8. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you are using blogger/blogspot then you will not be able to use the server-side method I mentioned. A custom programed javascript can do the job. I don't know of any that exist already - but it will require access to a geo location database. Seems like a fun challenge for javascript codemonkeys, but it's not a simple challenge for javascript beginners.
     
    gostats, Nov 27, 2008 IP
  9. coloriteman

    coloriteman Peon

    Messages:
    669
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    In Blogger , i think language detection is not possible . Like a site turning into a mobile version in mobile handsets , You need some kinds PHP/JavaScript to be hosted on your server to make this work . But language translation widgets are available on Blogger that can be used manually by the user .
     
    coloriteman, Nov 28, 2008 IP
  10. RobPinnacle

    RobPinnacle Active Member

    Messages:
    423
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #10
    This would be quite interesting for someone like me as well. I'm curious if it can be done now. I was under the impression you needed to rewrite the actual text on the site for each of the geo locations your redirecting to. However, if you had a java-script that translated it and redirected them automatically? Or am I completely off point here?
     
    RobPinnacle, Nov 28, 2008 IP
  11. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #11
    @Eliteworx yes, a simple (albiet not totally accurate option) would be to use Javascript to determine the User's language setting and then some AJAX (or a JS re-direct) to swap the translated content.
     
    gostats, Nov 29, 2008 IP