Improved version of Translatable::choose_site_locale with setlocale() and HTTP_USER_AGENT detection #14

Closed
chillu opened this Issue May 15, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@chillu
Member

chillu commented May 15, 2012

Migrated from http://open.silverstripe.org/ticket/5122, see for patch file and further comments.

I've created an improved version of Translatable::choose_site_locale with session support, browser language detection and member locale detection. Locale will be assigned in order with following priority:

?Locale= URL
--2. "Locale" Session--

Member->Locale
Browser detection

@robbieaverill

This comment has been minimized.

Show comment
Hide comment
@robbieaverill

robbieaverill Aug 3, 2017

Member

@chillu feel free to reopen if you want to. There's not enough detail here to go by and the old link is dead.

Member

robbieaverill commented Aug 3, 2017

@chillu feel free to reopen if you want to. There's not enough detail here to go by and the old link is dead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment