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


Reply


3 Posts   777 Views

Avatar
VRoxane

Community Member, 42 Posts

24 March 2011 at 4:11am

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 ?

Avatar
swaiba

Forum Moderator, 1805 Posts

24 March 2011 at 4:42am

Try this...
http://www.silverstripe.org/general-questions/show/13131#post287548
(it's from the ss book)

Avatar
VRoxane

Community Member, 42 Posts

24 March 2011 at 5:42am

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.