I am getting stuck with an issue, I have a
Multilanguage site that is based on
SXA. Rather than going to change via language drop-down, I am going to change language via URL.
Please see the steps below what I made for reproducing this issue:
- first of all I have two language site which is
en-cais the default one.
- I have a
productpage that exists in both languages.
- When I try to hit the URL like:
en-caresult will be correct. Now rather than changing the item language from the language selector dropdown, I tried to change the URL from the above to like:
https://domainname/fr-ca/product. After hitting the same page will load and get data from
- But it goes to the
404page because no one product name like this exists in a tree for
fr-cabecause I have changed the name of the product in
So my concern is that rather than resolving an item via its item name, I want to resolve it via display name.
Anyone, please suggest to me the better way how I can handle this?