Jump to content

Translate


Toy

Recommended Posts

If I hypoteticly have a website that only contains one word.. eh.. "Hello World".

 

So.. my question is would I be able to translate this into  other languages using.. the Google translate API for an example?

 

So basicly I want to do is: Detect what country you're from (probably trought IP), translate the words "Hello World" to whatever language you're in. Is there any translate API's that does this?

 

I don't really care about if it's going to be right spelled etc. I only have single words I want to translate!

It would be really awesome! If not.. oh.. :(!

Link to comment
Share on other sites

I've read throught those pages and I really haven't found exactly what i'm looking for.

 

The script should just detect country and language by IP and translate certain words that I can select.

Are you able to do this in Google Translate API? If so could someone please link the exact section about that.

 

If anything knows how to do this don't hesitate to post..

Link to comment
Share on other sites

Actually, the link I posted shows a Hello World example just like you asked for, as well as an example of Language Detection and Source Language Detection during Translation.  Maybe you could use the scrollbar :-)

 

Yes, but that detects the language that a given javascript string is written in, the OP wants to detect the location of the user and the predominant spoken language in that country, then translate the page to that language. If the OP already had the string stored in the language the user requires, the problem would not exist.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.