Talk about Yet another dictionary look up and text translator β Get this Extension for π¦ Firefox.
Yet another dictionary look up and text translatorγ«γ€γγ¦θ©±γγ
If you post JSON codes, please surround the codes with "```json" and "```".
JSONγ³γΌγγγγΉγγγε ΄εγ―γγ³γΌγγ ```json γ¨ ``` γ§ε²γγ
Example δΎ:
Source γ½γΌγΉ
```json { "name": "Google translate", "url": "translate.google.com/#view=home&op...", "tooltip": true, "action": "fetch", "viewin": "tooltip" } ```
Result 葨瀺
{
"name": "Google translate",
"url": "translate.google.com/#view=home&op...",
"tooltip": true,
"action": "fetch",
"viewin": "tooltip"
}
Top comments (2)
Hi.
Could you, please, help me to resolve an issue which I've stumble with?
I added the following service:
{
"name": "Google translate",
"url": "translate.google.com/#view=home&op...",
"tooltip": true,
"action": "fetch",
"viewin": "tooltip"
}
But all I get is a tooltip with only a header of the Google Translate page :(
And one more question, is it possible to make a service for Google Translate which allows to listen pronunciation of the selected word or phrase without showing tooltip but only when clicking on a bubbletip?
I've tried using the following URL:
translate.google.com/translate_tts...
But it didn't work at all.
Best regards,
Igor.
Google translation doesn't work with fetch because the translation is fetched by JavaScript after displaying the page. Using this add-on requires some knowledge of the behavior of the page. So it would be better to display Google translations in the browser panel. Or if you set the action to direct, it will work. For Google translation, it is more convenient to get the JSON and display it in a tooltip than to use the URL. An example is provided in the documentation for this.
Regarding the second question, it is not possible to play audio without displaying it anywhere with this add-on. I think other add-ons probably add audio elements to the page as invisible elements and play the audio. It is possible to add that feature to this add-on if you pay for the development costs. ;-)