Returns the language that's used.
The value is generated automatically.
The following languages are currently supported by DIBS:
da = Danish (default)
sv = Swedish
no = Norwegian
en = English
nl = Dutch
de = German
fr = French
fi = Finnish
es = Spanish
it = Italian
fo = Faroese
pl = Polish
Outputting the template tag
@GetString("Dibs.lang")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Dibs.lang"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Dibs.lang");
}
Outputting the template tag
<!--@Dibs.lang-->
Check if string has a value
<!--@If Defined(@Dibs.lang)-->