Jump to:

23550 Posts in 19336 Topics by 2890 members

General Questions

SilverStripe Forums » General Questions » Using Geoip to automatically set language of site?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 329 Views
  • mrcheeks
    Avatar
    Community Member
    3 Posts

    Using Geoip to automatically set language of site? Link to this post

    Hi, I'm very new to silverstripe.

    I have searched around but can't find an explanation or I just don't get it.

    How would one set this up? is it in the config?
    I have inherited a site... two different languages working (v2.4) and change fine with a nav.
    How would I set it up to use the visitors IP to set the language automatically?
    Also whats the best way to test it by yourself? just set it to the default to a region you're not in I imagine?
    or could someone point me to a "how to"?

    Cheers.

  • mrcheeks
    Avatar
    Community Member
    3 Posts

    Re: Using Geoip to automatically set language of site? Link to this post

    or should i use a module?

  • mrcheeks
    Avatar
    Community Member
    3 Posts

    Re: Using Geoip to automatically set language of site? Link to this post

    Can anybody please help me with this?
    I'm new to Silverstripe and not sure which is the best way to do it.

    Can you set if statements in the config to set the locale?

    Have I missed something very basic and is this a really stupid question?
    Sorry if so.
    Any help would obviously be appreciated.

    329 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.