Fast translation without extensions

  • Official Microsoft's bookmarklet for Bing translator does not work anymore. Microsoft used another (unavailable today) script and without it their bookmarklet is useless. Why did Microsoft choose so difficult way? We know simpler solutions and this is the reason to talk about bookmarklets for translation once again. Let's go!



Once again about bookmarklets for fast tranlstion of current page


What bookmarklte is? We already told: this is script which is runed by click. It means that the script works when you really need it. Just add bookmarklet on your favorite bar and click it when you need. This is very simple to use, not more difficult than the usual favorites.

Why doesn't official Bing Translator bookmarklet work?

Microsoft was the first company who published official bookmarklet for translation. It was the right step, because they needed more users to compete with Google. I don't know why they used another script, because they could just copy URL of current page. It will work as long as the website exist.

This is official Bing bookmarklet for fast translation:
javascript:(function(){var s = document.createElement('script'); s.type = 'text/javascript'; s.src = 'http://labs.microsofttranslator.com/bookmarklet/default.aspx?f=js&to=auto'; document.body.insertBefore(s, document.body.firstChild);})()

It does not work because of unavailable today pages. You can just click this link or drag old Bing Translator to your favorites bar to check it. So we need something else...

In theory, you can use this to translate current page into your language:
javascript:q=(document.location.href);void(open(http://www.microsofttranslator.com/bv.aspx?from=&to=auto&a='+escape(q),'_self','resizable,location,menubar,toolbar,scrollbars,status'));

But it does not work... Because when I test it the first time it worked for English, but I use other language as default. This is not so bad, because we can just change "auto" to your native language.

For example for Russian it will be:
javascript:q=(document.location.href);void(open(http://www.microsofttranslator.com/bv.aspx?from=&to=ru&a='+escape(q),'_self','resizable,location,menubar,toolbar,scrollbars,status'));

This is new bookmarklet for fast translation of current page via Bing Translator. Unofficial, but working. And I hope it will work ever while Bing Translator is exist, because this script just copies current page URL and opens it to Bing. 

So if from time to time you need something for translation of pages in foreign language, but you don't want to instill any extensions, you can use several bookmarklets for popular online translators. Just drop "link" to favorites of copy script manually.

Google

Probably, Google Translate is the most popular translator in the world. And I think it will be enough for most users. 

javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/?text='+t+'&hl=auto&langpair=auto|auto&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&hl=auto&langpair=auto|auto&tbb=1&ie='+e;};
  • Copy script and save it as bookmark or just drop Google Translator to favorites bar.

Microsoft Bing

Hero of the occasion. We're here only because official Bing Translator bookmarklet is broken and does not work anymore. And I must admit that I'm surprised that many people really need it.

javascript:q=(document.location.href);void(open('https://www.microsofttranslator.com/bv.aspx?from=&to=auto&a='+escape(q),'_self','resizable,location,menubar,toolbar,scrollbars,status'));
  • Copy script and save it as bookmark or just drop Bing Translator to favorites bar.

Yandex

The main competitor of Google in Russia and CIS countries. And in my opinion Yandex.Translator is the best service for working with Russian language. 

javascript:q=(document.location.href);void(open('https://translate.yandex.com/translate?lang=auto-auto&url='+escape(q),'_self','resizable,location,menubar,toolbar,scrollbars,status'));
  • Copy script and save it as bookmark or just drop Yandex.Translator to favorites bar.

PROMT

It was the main translator in CIS and perhaps it was one of the main translators in Europe at pre-Internet times. I still have two discs with offline translator for English and German languages. Online version of PROMT Translator is free.

javascript:q=(document.location.href);void(open('http://online-translator.com/siteTranslation/autolink/?direction=ar&template=General&sourceURL='+escape(q),'_self','resizable,location,menubar,toolbar,scrollbars,status'));
  • Copy script and save it as bookmark or just drop PROMT Translator to favorites bar.

P.S.

I'm not so cool in scripts, because I can edit old scripts only, but not write new. But make new bookmarklet for Bing was not so hard. So tell me if these scripts don't work or you need something else. I can try to help.

That's all...
Share via AddThis or Shareaholic
Translate via GoogleYandexBing or Promt
Перевод на русский

Комментарии

Популярные сообщения