Copied to clipboard

Flag this post as spam?

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

  • Erik 11 posts 47 karma points
    Jul 18, 2015 @ 15:44

    Retrive Language (CultureInfo) from Root nodes. (SOLVED)

    Hi, I would like to retrieve CultureInfo from root nodes., I have a Query that returns all root nodes.

    var rootNodes = Umbraco.ContentAtRoot().Where("Visible")

    I did a debug on this line but I can't find a way to retrieve the CultureInfo, that is set in backend configuration.

    I did quite some research and event browsed the source code, I found a class that may be Suited to my needs, but I get YSOD whe do I use it.

    mbraco.Web.Routing.DomainHelper.GetNodeDomains(Id, true);

    So if someone can help me out on this, I would be really pleased.

    Btw This is my first post. Here, I managed to construct a whole page and user portal connected to and ms Dynamics NAV system in just about 4 days. Another big fan of Umbraco!

    Ok I found it.

Please Sign in or register to post replies

Write your reply to: