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
We have a multi-language customer website, and we like to set directly in the partial view of the footer an internal link to a subpage.
Is there an easy solution to set a link that will work in every language, respectively goes to the language specific page, like
Or do we have to set that together with an extra helper?
Thanks for any suggetions.
You can get the specific content url based on culture, use a default culture code and you can use it like below.
var defaultCulture= "culture code here";
var defaultContent= _publishedContentQuery.Content().Url(culture:defaultCulture);
_publishedContentQuery is IPublishedContentQuery
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted