Google Translate Using a Prompt
If you like using Google Translate you know that there is a fast way to select a word or more from a website to translate it - or even translate the whole website - but there is no way to have an input promt that let you enter some words. Today I invested some time to create a little bookmark javascript that either displays a prompt and you can enter the words you want to translate or simply translates the words that you selected on an actual running website.
The script is really simple and you can configure the script for your needs because one feature has been droped. Google Translate normaly detects the language of the words that you want to translate. At the moment I didn't found a solution for that when you use a prompt to enter some words to translate. Perhaps someone has a clue for that.
You can configure the language pair with the "lan" variable inside the script.
lan='de|en'; // translate always from german to english
lan='en|fr'; // translate always from english to french
If you like the script you can drag the following link to your browser link bar > Google Translate
Feedback of bugs or improvements are welcome!
google+translate google translate bookmark javascript script


0 Kommentare:
Post a Comment