I am using Sitecore SXA in application. I have my site in two language. When I switch language from english to japanese, it appends hostname ahead url. Please suggest the solution for this issue!
On language selection: