44 mensajes Página 1 de 3
The Google Translate API has been officially deprecated an alternative is the Microsoft Translator V2, check this article for more details.



In this post i will show you how work with the Google Translate API V2 (Labs), this API lets you automatically translates text from one language to another.

Disclaimer

This version of the Google Translate API is in Labs, and its features might change unexpectedly until it graduates.
The Google Translate API requires the use of an API key, which you can get from the Google APIs console
Before to use this API check the Google Translate API Terms of Use.

To use the Google Translate API you must send a HTTP GET request to its URI.

The URI for a request has the following format:
https://www.googleapis.com/language/translate/v2?parameters

Example to making a request to translate the Hello World text from English (en) to Spanish (es) the URI must be constructed in this way

https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&source=en&target=es&q=Hello%20world


The response in JSON format will be
{"data":{"translations":[{"translatedText":"Hola Mundo"}]}}


To activate the auto-detection of the source language you must avoid the use of the source keyword
https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&target=es&q=Hello%20world

and the JSON response in this case will be
{"data":{"translations":[{"translatedText":"Hola a todos","detectedSourceLanguage":"en"}]}


crdt : Rodrigo

result :

Imagen

id = HTTP.SubmitSecure("https://www.googleapis.com/language/translate/v2",...


http://code.google.com/intl/en/apis/language/translate/v2/using_rest.html

:friends:
  Thank you, you can upload apz example?  
rafaxplayer escribió:   Thank you, you can upload apz example?  

yes wy not :yes:
dont forget change key
Contenido Oculto: ON
	<br />Usted necesita responder en este tema para ver el contenido oculto.

code source :
Contenido Oculto: ON
	<br />Usted necesita responder en este tema para ver el contenido oculto.
hace tiempo vi algo de esto gracias...
thank's :D!
as you said (copy from jquery translate plugin) google translate sdk will be publicly unavalible under sept of this year, this is due the huge amount of traffic generated.

The ms translate api will be the only usabe service right now, but google works better, for example, ms translates broken ("averiado") as "lost the virginity", a fucking bad translation...
ImagenImagenImagenImagen
Y como se utiliza?
Imagen
Imagen

Si quieres puedes apoyar el chat de la comunidad de amsspecilist
thanks :)).
???
thanx
thanks
thanks !!
gracias!! muy bueno
thanks
thank you
Imagen
gracias sta bonito el Traslator
thanks
gracias
i will test
gracias... muy bueno,..
Imagen
44 mensajes Página 1 de 3

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado

cron