Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Using Geoip to automatically set language of site?

Go to End

3 Posts   692 Views


Community Member, 3 Posts

8 April 2013 at 11:56am

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"?



Community Member, 3 Posts

10 April 2013 at 12:07pm

or should i use a module?


Community Member, 3 Posts

15 April 2013 at 1:02pm

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.