Caplin Trader 5.1.0

Module: br-services/locale/BRLocaleLoadingSwitcher

Methods

(inner) BRLocaleLoadingSwitcher()

The loading locale-switcher is an alternative implementation of {br-services/LocaleSwitcher}.

Unlike {br-services/locale/BRLocaleForwardingSwitcher}, it doesn't require the locale to appear in the URL, and works reliably with all static file servers, but has a couple of down-sides:

  • The browser's view-source feature no longer displays the correct output.
  • The browser may be unable to accurately display the source that is being debugged.