(require("br-services /locale /BRLocale Provider"))()
BRLocaleProvider
is an implementation of {br-services/BRLocaleProvider} that works in the following way:
- The locale cookie is used if one is present.
- If no locale cookie is present, the browser's
Accept-Language
headers are used to set the locale cookie. - If {#setActiveLocale} is invoked the locale cookie is updated.