Caplin Trader 4.7.1

Module: br/services/LocaleSwitcher

Methods

(inner) LocaleSwitcher()

Locale switchers are responsible for ensuring that the browser loads the app using the active locale (as determined using {br/services/LocaleSwitcher#getActiveLocale}) when directed to do so. There are two standard implementations provided with BladeRunnerJS:
  • {br/services/locale/BRLocaleForwardingSwitcher}: Causes the browser to load the locale specific page using a URL that includes the locale.
  • {br/services/locale/BRLocaleLoadingSwitcher}: Causes the browser to replace the contents of the locale switching page with the contents of the locale specific page.