How are companies translating search terms on international sites. Like GE.com
The website site uses a translation API that translates a page on the fly. The Content in the CMS is all in English. So when someone types in a search term in Italian, but the pages being searched are all in english, so the Italian term needs to be translated into english so the DB can be searched and appropriate results can be returned. How do you think they are doing it?
See also this article on the general design for a polyglot web application. It shows directory structures that work well, and allow for native language expansion without disrupting the existing translations.
https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_8910-A-Polyglot-Web-Site-in-PHP.html