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

Allowing the user to change his Member.Locale


Go to End


3 Posts   1033 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, 1899 Posts

24 March 2011 at 4:42am

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.