Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Churchley 272 posts 1258 karma points c-trib
    Sep 30, 2015 @ 14:25
    John Churchley
    1

    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?

  • Scott 95 posts 277 karma points
    Feb 03, 2016 @ 12:44
    Scott
    0

    Sorry but did you try

    Domain.GetDomainsById(Page.Id)[0].Language.CultureAlias

    ?

Please Sign in or register to post replies

Write your reply to:

Draft