new Locale(currentLocale, allowedLocales, siteId)
Represents current locale information in plain object
Parameters:
Name | Type | Description |
---|---|---|
currentLocale |
dw.util.Locale |
current locale of the request |
allowedLocales |
string |
list of allowed locales for the site |
siteId |
string |
id of the current site |