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?
LVL 7
rgranlundAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
I would imagine they are using something like Google Translate.

Details of the Google Translate API can be found here

https://cloud.google.com/translate/docs
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ray PaseurCommented:
The Content in the CMS is all in English.
It does not look that way to me, and machine translations are rarely good enough for "prime time" around the world.  I believe that GE has native language content.  Please see: http://www.ge.com/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.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_8910-A-Polyglot-Web-Site-in-PHP.html
0
rgranlundAuthor Commented:
@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.
0
Ray PaseurCommented:
Current within the last couple of weeks:
https://cloud.google.com/translate/v2/pricing

Example of Google auto-detect:
https://translate.google.com/?text=#auto/en/schweinchen

Regarding geolocation, what if I'm an English speaker traveling in France?  I think it's wiser to let the client choose the languages of choice.  You can make a guess for them, but good UX tells me that it would be right for us to give the client the power to choose and have the choice remembered.  That is illustrated in the article about polyglot sites.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.