Hi, ajax search is now working with latest update. It will add lang query when search icon is clicked but did not maintain/redirect to the language folder url.
english url (default) = https://domain.com/
chinese url = https://domain.com/cn/
But for the ajax search, when input and clicked search icon, the url will go to the correct product language but all other interface will use default lang which is EN.
search result url like below:
https://domain.com/?s=夏&post_type=product&et_search=true&lang=cn
It should go to this url to retain everything in CN when requested from CN page.
https://domain.com/cn/?s=夏&post_type=product&et_search=true&lang=cn
how can I achieve this on htaccess?