Captive Portal Customizations - Language
(Difference between revisions)
(Created page with "== Description == Set the captive portal language. Current supported languages are: English ('''en'''), Portuguese ('''pt_br''') and Spanish ('''es'''). It's recommended to...") |
(→Description) |
||
Line 5: | Line 5: | ||
Current supported languages are: English ('''en'''), Portuguese ('''pt_br''') and Spanish ('''es'''). | Current supported languages are: English ('''en'''), Portuguese ('''pt_br''') and Spanish ('''es'''). | ||
− | It's recommended to customize the | + | It's recommended to customize the language in the Layout configuration to make sure it is applied to all other pages. |
See also: [[Captive Portal Customizations - Translations | Translations ]] | See also: [[Captive Portal Customizations - Translations | Translations ]] |
Revision as of 19:53, 27 October 2017
Description
Set the captive portal language.
Current supported languages are: English (en), Portuguese (pt_br) and Spanish (es).
It's recommended to customize the language in the Layout configuration to make sure it is applied to all other pages.
See also: Translations
Default Value
The default language is retrieved by the user's browser preferences. If there are no translations configured for the browser's language, it's set to pt_br.
Customization Example
<script> appConfig.customization = appConfig.customization || {}; appConfig.customization.language = 'pt_br'; </script>