• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

Google translate form

Is it not possible to create a private google translate form?

I want to add text to one text filed (English) and when i press the button "Translate" i get the resulting text in the other text field (Danish).

Please see the attached code.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>

<form id="form1" name="form1" method="post" action="">
  <label for="textEN"></label>
  <textarea name="textEN" id="textEN" cols="45" rows="5"></textarea>
  <input type="submit" name="Translate" id="Translate" value="Translate" />
  <label for="textDA"></label>
  <textarea name="textDA" id="textDA" cols="45" rows="5"></textarea>

Open in new window

1 Solution
You could use code to submit the form, scrape the result and then fill in your form in this way but that would very likely break the terms and conditins of googles site as you are.... stealing their idea and their dictionary and using it yourslef.


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now