LocaleSite
Represents current site in a specific locale, according to locales in the OnlineChannelConfiguration.
implements: hash
bundle: standard portal bundle
since 2.0.0
Represents current site in a specific locale, according to locales in the OnlineChannelConfiguration.
Represents current site in a specific locale, according to locales in the online channel site configuration. Property keys: "url": current url in the context of the locale site "label": translation lookup to "general.language-" + locale "locale": the locale of the site
This model is accessible as > sequence<LocaleSite> by the global access path 'custom.portal.localeSites'.
Defined hash keys
custom.portal.localeSites.completeLocale ↦ String
since 2.0.0.
Returns the locale as string
custom.portal.localeSites.hreflang ↦ String
since 2.1.37
Returns href style locale (de-de, en-uk)
custom.portal.localeSites.label ↦ String
since 2.0.0
Returns translated locale or language
custom.portal.localeSites.locale ↦ String
since 2.0.0
Returns the language of local locale
custom.portal.localeSites.url ↦ String
since 2.0.0
Returns the current url with local locale