silverstripe/sapphire — pull request #685 by forsdahl (2012-07-31 06:03:14+00:00)
Title: BUG Set javascript i18n locale from lang attribute in body tag

Set current i18n locale for javascript based on the lang attribute in
the body tag (if present) if no matching locale is found from meta tags.
This fixes javascript i18n switching in the cms (where the lang
attribute on the body tag is used).