Caplin Trader 4.5.2

Module: br/services/locale/BRLocaleProvider


(inner) BRLocaleProvider()

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