fs-webdev/strong — pull request #2 by redbugz (2012-07-27 14:57:40+00:00)
Title: Add middleware to set the locale from the accept-language header 

The translate function will use the locale set in the middleware if available to lookup the translation for the locale automatically. i18n() has been added as an alias to translate (in addition to t()). Locale is also now standardized in effective_locale() instead of the setter.