How to change language depending on location

12 replies
I have someone who wants me to do a project for them a little bit out of my comfort zone. How would i go about the following:

If from England pull in the English version of a page.
If from Spain pull in the Spanish version of a page.

and so on.

Many thanks
#change #depending #language #location
  • Profile picture of the author skyelans
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[7001756].message }}
  • Profile picture of the author phirefast
    I like the idea of using the MaxMind API. Having used it for geo in the past, it's really easy to work with and very consistent. I'd definitely take that route, but still let the user click a flag icon for theirs language in case MaxMind gets it wrong.
    {{ DiscussionBoard.errors[7004209].message }}
  • Profile picture of the author dcristo
    Geo targeting with redirection to local content. If there isn't a match just show the home page.
    Signature

    Are you wanting to learn all the poker lingo?

    {{ DiscussionBoard.errors[7004214].message }}
  • Profile picture of the author jennifermark81
    hey
    u can use geo location option available with html 5 now. its really easy to u
    jen


    Posted from Warriorforum.com App for Android
    {{ DiscussionBoard.errors[7004441].message }}
  • Profile picture of the author TheDudeAbides
    If you don't want to go through the trouble of setting up and mainting Maxmind, cloudflare offers a free country level detection.

    However perhaps users would prefer to switch it via their country flag/abbreviation in the header.
    {{ DiscussionBoard.errors[7004639].message }}
  • Profile picture of the author chrislim2888
    IP Address Geolocation to Identify Website Visitor's Geographical Location may also be another choices for geolocation solution implementation to display different languages of different IP address.

    If you do not want to host the geo database, perhaps, you can get the web service at FraudLabs Credit Card Fraud Detection Web Service
    {{ DiscussionBoard.errors[7005283].message }}
  • Profile picture of the author Jonas Glad
    Yeah... basically just grab the IP and show content accordingly. Not that hard of a task. :p
    {{ DiscussionBoard.errors[7009350].message }}
  • Profile picture of the author jacktackett
    How to Get a Users Geo Location?

    Check out the above URL for an example. There was also aWSO last summer that had a plug in for Wordpress that would do this

    Jack
    Signature
    Let's get Tim the kidney he needs!HELP Tim
    Mega Monster WSO for KimW http://ow.ly/4JdHm


    {{ DiscussionBoard.errors[7009371].message }}
  • Profile picture of the author whiterock
    You should have a ip to country database and after finding ip address and then redirect as per the ip address
    {{ DiscussionBoard.errors[7010154].message }}
  • Profile picture of the author eonejames
    Thanks to share such a wonderful information about change language for location because I early to find same things.
    {{ DiscussionBoard.errors[7010641].message }}
  • Profile picture of the author rasynomarlo
    Well, till date I haven't come across this particular thing. I was aware that there is a process that we ca change the language of the website in a particular location but wasn't aware of the process. I would try to use this method offline.
    {{ DiscussionBoard.errors[7012175].message }}
  • Profile picture of the author clarethwaites
    Hey :-) I am looking for a WP Plug in that will allow me to serve different ads in my widget areas according to where the user is located.

    If anyone made a WSO about it, please let me know - happy to buy through anyone's affiliate link depending how much it is!

    Or if this can be done in code (Im not a coder!) please could anyone help??

    Thanks in advance for any replies :-)
    Signature
    http://intelligentaudio.net - no marketing - just awesome music! electronic, chillout and jazz...

    http://help-pay-bills.com - motivation, product reviews and tips to go from earning enough to pay your bills, to a LOT more.
    {{ DiscussionBoard.errors[7200835].message }}

Trending Topics