Ecom:Country.LanguageID
Version: - stringSummary
Returns the language ID applied for the country.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Ecom:Country.LanguageID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Country.LanguageID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Country.LanguageID");
}
Outputting the template tag
<!--@Ecom:Country.LanguageID-->
Check if string has a value
<!--@If Defined(@Ecom:Country.LanguageID)-->
Let's output this tag here: <strong><!--@Ecom:Country.LanguageID--></strong>
<!--@EndIf(@Ecom:Country.LanguageID)-->