dhanji/sitebricks — pull request #67 by aoiHikari (2014-02-10 16:17:36+00:00)
Title: Allows binding of custom LocaleProviders

Extends the current implementation to allow bindings of custom LocaleProviders that may behave differently and not rely (entirely) on the locale provided from the browser. A use case could be to disable some languages for custom domains.

For this to work one has only to override the SitebricksModule#bindLocaleProvider() method with a custom binding.