Sitecore 5.0 API

Context.ContentLanguage Property

Gets the language used by the Sitecore client to display content.

[Visual Basic]
Public Shared ReadOnly Property ContentLanguage As Language
[C#]
public static Globalization.Language ContentLanguage {get;}

Remarks

A language defines an aspect of an item, that relates to a spoken language. A content item can have content in multiple languages and there may be multiple versions of an item in a given language. The language name may be an abitrary string, but is recommended to use the ISO code of the language.

This property specifies the language which the Sitecore client displays content in by default. Users can change this according to their preference.

See Also

Context Class | Sitecore Namespace