Skip to content

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

chillu opened this Issue May 15, 2012 · 0 comments

1 participant

SilverStripe Ltd. member
chillu commented May 15, 2012

Migrated from, 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--

Browser detection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.