Skip to the content
Documentation

SiteLanguageList

No ratings yet

Summary

The prioritized list of site languages.

Usage

SiteLanguageList[]=language1

SiteLanguageList[]=language2
...

Description

Sets which languages the contents of a site should be displayed in. The first element in this array determines the most prioritized language. The system will try to display content in this language first. If an object is not translated to this language then the second prioritized language (specified as the second element of the array) will be displayed, and so on. If an object does not exist in any of the site languages, it will not be shown unless it is always available or the "ShowUntranslatedObjects" setting is enabled. Please refer to the "Configuring the site languages" section for more information and examples.

Note: If this setting is not specified then only default language will be shown.

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. SiteLanguageList vs. ContentObjectLocale & ShowUntranslatedObjects

    Gaetano ·

    Take care: setting ShowUntranslatedObjects to disabled means that objects only translated in languages that are not in the SiteLanguageList will not be shown in the site, regardless of ContentObjectLocale...

Comments

Add a comment

Comments are read by a moderator before they appear.