Dibs.lang

Version: - string  

Summary

Returns the language that's used.

Settings

The value is generated automatically.

Remarks

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

Examples

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)--> Let's output this tag here: <strong><!--@Dibs.lang--></strong> <!--@EndIf(@Dibs.lang)-->