Caplin Trader 4.0.3

Interface: module:br/services/LocaleService

module:br/services/LocaleService

Summary

A service that allows getting and setting the current app locale cookie.

Methods

getLocale()

Gets the current locale preference.

getPageLocale()

Gets the locale for the current page

setLocaleCookie(locale, days)

Sets the locale cookie
Parameters:
Name Type Description
locale String The locale value for the cookie
days Number The number of days to set for this cookie