Copied to clipboard

Flag this post as spam?

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


  • Mahender Singh 16 posts 116 karma points
    5 days ago
    Mahender Singh
    0

    PublishedContentQuery result for Multi-lingual website

    Hi Team,

    I want to retrive all published Umbraco content in code culture specific. I used PublishedContentQuery using below mention code but I return default English culture.

      var node = _publishedContentQuery.Content(1299).Children.ToList();
    

    Could anyone please help me to get the content culture specific.

    Thanks in advance.

  • Johan Runsten 12 posts 123 karma points c-trib
    3 days ago
    Johan Runsten
    0

    Hi!

    Try _publishedContentQuery.Content(1299).Children("your culture").ToList();

Please Sign in or register to post replies

Write your reply to:

Draft