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

switch default language by domain


Go to End


1134 Views

Avatar
spierala

Community Member, 80 Posts

6 May 2010 at 12:48am

hello,

do you know a way to switch the default language of the site by checking the domain?

i have

domainname.de
domainname.com
and
domainname.es

if the visitor comes via
domainname.es

the site should automatically switch to spanish.

many thx for your help,
florian