Hi there!
I’m working on my website and everything was going pretty fine until i find a problem with a search field!
I have my site in two languages (portuguese and english, having portuguese as the default one). The user can choose between both languages by clicking on a top button with PT and EN letters. What happens is when you pick the english version and you type anything on the search field, anything that it couldn’t find, the search results always appears in portuguese!.. and then you have to click again on EN to have the results in English! Is there a solution on php to make the language choosen be the same as the search results language?
I appreciate your help!
Thank you.