1
On an html page how to make the words of the text be converted into links? so that when clicking on a given word, open the google page with the word translation.
For example, in this sentence:
"The universe is to everyone"
If the user clicks me "The"
will open the link
https://translate.google.com/m/translate?ie=UTF8&sl=pt-BR&tl=en&q=#en/pt/The
If you click universe
opens
https://translate.google.com/m/translate?ie=UTF8&sl=pt-BR&tl=en&q=#en/pt/universe
You want to create a link to all the words in the text: "The", "Universe", "is", "to", "Everyone"?.. if not, what criteria to be adopted?
– Sam
And if you have a dot, a comma... so you would need to define a criterion and apply only the link to words from a list of predetermined words.
– Sam
@sam this, for all words separately, has to see also that should disregard numbers and punctuation. I will test the proposed answers here
– Miguel Silva
Does it only serve word for word? I made an example that can be what is selected,,
– user60252
Show Leo, it is interesting this option too, thank you!
– Miguel Silva