Documentation > CMS Template API Library > Context > CultureInfo

CultureInfo

If this is set, then when asset objects are looking for fields via the [] operator, they will first look for the the culture string (fr for example) plus name before returning, otherwise the field without the string will be returned. This will remain set for the lifetime of the currently running template unless specifically set to another culture or to null which will restore the default. The default culture has a string of "en-US"

Type

System.Globalization.CultureInfo

Value

The current culture.

Connect with Crownpeak