Robert Granlund
asked on
Seach Input translation
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
@Ray and all,
Thank you for the information. However, let's say www.MYSITE.com has only English content. A third party API like Transifex to translate pages on the fly. If a person is in Germany and they use a German term in the search box, that German term will not be in the English content.
So my question is this; how do you translate a search term into english so it returns the appropriate results?
In addition, the website knows your geo location and knows what the native language is, so that is not an issue.
Thank you for the information. However, let's say www.MYSITE.com has only English content. A third party API like Transifex to translate pages on the fly. If a person is in Germany and they use a German term in the search box, that German term will not be in the English content.
So my question is this; how do you translate a search term into english so it returns the appropriate results?
In addition, the website knows your geo location and knows what the native language is, so that is not an issue.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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