Languages
Summary
The Languages loop lets you display various information about the website language and current page within the language.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Culture
Returns Culture of the language, based on Regional Settings field in the language backend.
@GetString("Culture")
FirstActivePageID
Returns ID of first active page in the website language.
@GetInteger("FirstActivePageID")
FirstActivePageName
Returns Name of first active page in the website language.
@GetString("FirstActivePageName")
Name
Returns Name of the website language, based on Name field in the website language backend.
@GetString("Name")
PageName
Returns Name of the page within the language, based on PageName field in the page properties.
@GetString("PageName")
PrimaryDomain
Returns primary domain of the website language, based on Primary Domain field in the website language backend.
@GetString("PrimaryDomain")