#How to get current culture?
1 messages · Page 1 of 1 (latest)
@inject UmbracoHelper umbracoHelper
Seems to do the trick. And umbracoHelper.CultureDictionary.Culture.TwoLetterISOLanguageName
Umbracohelper.assignedcontent.culturefrpmdomains is an option (on phone, so syntax is probably off). This will not work if the view is loaded through ajax or something.
If the view inherits umbracoviewpage, you can use Umbraco.... As the Umbraco helper
You can use the Threads current UI culture.