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


932 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