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.

General Questions

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

switch default language by domain


Reply

928 Views

Avatar
spierala

6 May 2010 at 12:48am Community Member, 80 Posts

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