This question already has an answer here:
For an item I have 2 version for 2 languages with a different displayName for each. The displayName are :
- Item_01_EN for the EN version
- Item_01_FR for the FR version
Now the problem is, when I use
LinkManager.GetItemUrl(item, opts) with my opts.Language set to the FR culture, sitecore keeps generating an URL with Item_01_EN displayName instead of Item_01_FR.
How can I solve this ?