Sitecore 5.0 API

Context.Language Property

Gets the current language.

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

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.

See Also

Context Class | Sitecore Namespace