Buckaroo.Language

Version: - string  

Summary

Returns language code. 

Settings

The value is generated automatically, based on Language field in the payment settings.

Examples

Outputting the template tag

@GetString("Buckaroo.Language")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Buckaroo.Language"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Buckaroo.Language"); }

Outputting the template tag

<!--@Buckaroo.Language-->

Check if string has a value

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