The pageLink html helper can be used to add links to LinkItems eg. from a LinkItemCollection. But what I have seen, the pageLink helper do not take the language of the LinkItem into account. Which means the link will always be to the preffered culture. In some cases the editors might be interested in adding links to pages in specific languages.
What I have done to solve this is to make my own html helper, which is pretty much the same as the built in pagelink htmhelper for linkItem but this one will take the language of the LinkItem into account.
The pageLink html helper can be used to add links to LinkItems eg. from a LinkItemCollection. But what I have seen, the pageLink helper do not take the language of the LinkItem into account. Which means the link will always be to the preffered culture. In some cases the editors might be interested in adding links to pages in specific languages.
What I have done to solve this is to make my own html helper, which is pretty much the same as the built in pagelink htmhelper for linkItem but this one will take the language of the LinkItem into account.
This extension will return a link to the page in the language specified in the Language property in LinkItem.