LongLang

Version: -  

Summary

Returns the language name for the current area.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetObject("LongLang")

Check if tag has a value

@if(!var.IsNullOrWhiteSpace(GetObject("LongLang"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ var storedTag = GetObject("LongLang"); }

Outputting the template tag

<!--@LongLang-->

Check if object has a value

<!--@If Defined(@LongLang)--> Let's output this tag here: <strong><!--@LongLang--></strong> <!--@EndIf(@LongLang)-->