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.
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.
Could anyone please help me to get the content culture specific.
Thanks in advance.
Hi!
Try
_publishedContentQuery.Content(1299).Children("your culture").ToList();
Thanks for reply Johan,
I am using below mention code and it works for me
_publishedContentQuery.Content(1299).Children("your culture").ToList();
is not working for me.
is working on a reply...