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

Allowing the user to change his Member.Locale


3 Posts   690 Views


24 March 2011 at 4:11am Community Member, 42 Posts

Hello !

I displayed two little flags on my website.
I want them to allow the registered user to change his locale, in my case fr_FR or en_GB.

Any ideas on how to do that just by clicking on one of the flags ?


24 March 2011 at 4:42am Forum Moderator, 1796 Posts

Try this...
(it's from the ss book)


24 March 2011 at 5:42am Community Member, 42 Posts

hi swaiba !

I don't want to show the translations of a page, I really want to change the Locale defined for the current user in the Member table.