Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I used to do this in order to the culture of the page knowing the Id.
Domain.GetDomainsById(Page.Id)[0].Language
but umbraco.cms.businesslogic.web.Domain is now deprecated
Anyone with any ideas?
Sorry but did you try
Domain.GetDomainsById(Page.Id)[0].Language.CultureAlias
?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Using the IDomainService to check page culture knowing the id
I used to do this in order to the culture of the page knowing the Id.
Domain.GetDomainsById(Page.Id)[0].Language
but umbraco.cms.businesslogic.web.Domain is now deprecated
Anyone with any ideas?
Sorry but did you try
Domain.GetDomainsById(Page.Id)[0].Language.CultureAlias
?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.