FirefoxTranslations' offline use
Hello everyone
I wonder whether someone could assist me, please
Can FirefoxTranslations be used offline?
Whenever I try to use FirefoxTranslations offline, I get errors like:
"We found an error loading the translation engine"
or, sometimes,
"We could not find the translation engine to download" (even though the relevant language's translation-engine has already been downloaded.
I was under the impression that we could use FirefoxTranslations also offline, but it wouldn't be the first time I happen to be wrong........
In advance, thank you very much for your kind help
Christian
すべての返信 (1)
I asked devs about it. They say that it should work offline.
Definitely need to run whichever language you are planning on using through once with it online though. There may be a way to get around that limitation but easy enough to just do it one time. Another hack for sites that don't translate well or when I want to do my own little snippet translation I have this saved to a file on my desktop. I load it up and select the translation I'm interested in:
<html> <head> <title>Text to Translate</title> <script type="text/javascript"> function echofromform(event, textarea) { document.getElementById("output").textContent = textarea.value; } </script> </head> <body> <form> <textarea id="input" cols="60" rows="20" onKeyUp="echofromform(event,this)"></textarea> <br> </form> <br> <h3>Output</h3> <div id="output"><i>What you type will show up here...</i></div> </body> </html>
Which looks like in the attached screenshot: