Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Google Translator with API calls

Status
Not open for further replies.

jonik1

Programmer
Dec 2, 2020
1
HU
Good day everyone .... Please help ...
I'd like to use the "How to use the Google Translator with API" code provided in the FAQ (184-5372), but just return an empty string.
Environment w10 vfpx9.0 sp2
please advice
 
This FAQ was written in 2004, most likely things have changed and no long work the same way.



If you want to get the best response to a question, please check out FAQ184-2483 first.
 
I don't remember what the status of Googles' Cloud and APIs was in 2004, but I would not categorize the code of Christophe CHENAVIER in faq184-5372 as API usage. It just has in common to make a request.
But it's actually the form of URLs that are used by the usual user interface and, well, that's bound to fail as user interfaces are adapted to newer HTML and design standards.

A real API would return a JSON or XML or such data format to give the essential answer and you wouldn't extract the translation from the HTML of the web interface.

You might want to consider using the API, a starting point is Just note the pricing, too:
Chriss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top