Yandex Translate Firefox Extension

I made a Yandex Translate Firefox extension that lets you translate between any two language from the Firefox address bar. Awesome!

I made a Yandex Translate Firefox extension1 that lets you translate between any two language from the Firefox address bar. Awesome!

When I write for this site, I use many different tools2. To spice up the language a little, I use Thesaurus.com. Dictionary.com is a life saver when I want to look up definitions of words. And Yandex Translate is handy because English is my second language, and I often find myself in need of a little translation from Norwegian.

Both Thesaurus.com and Dictionary.com are easily available through Firefox search engine integrations. I simply open a new tab, hit either t for thesaurus or d for dictionary, enter the word I’m looking for, and the respective site in queried. It’s all very convenient. For a while I’ve been looking for a similar solution for Yandex Translate, but I’ve found none. The Firefox extensions that exist for Yandex Translate are either massive feature creeps, or very limited.

I needed a simple extension that made it possible to translate between any of the languages supported by Yandex Translate. And what’s the programmer’s approach when we have a problem that isn’t already solved by someone else? We solve it ourselves, of course!

Presenting: The Yandex Translate (all languages) Extension

Getting the extension up and running turned out to be surprisingly easy. The documentation is clear and concise, and the examples are plentiful. The end result is the Yandex Translate (all languages) Firefox extension, and it solves my problem beautifully.

Related article: Google Translate Firefox Extension.

Now I can open a new tab, write gt no en fylkestrafikksikkerhetsutvalgssekretariatslederfunksjonene, and hit enter. The extension will automagically open Yandex Translate with the URL to get the correct-ish translation from Norwegian to English. If I wanted to translate to another language, I’d simply replace en in the query with the two-letter code for that language, like es for Spanish. Boom.

If you’re using Firefox, please go ahead and install the extension. The code is available on github if you want to tinker with it. Pull requests are always welcome.

Footnotes

  1. The observant reader will probably notice that this (both the extension itself and the blog post announcing it) is a shameless carbon copy of my Google Translate Firefox Extension.
  2. For an insight into my creative process – haha – why don’t you have a look at my guide to joyful writing?

By Vegard Skjefstad

Leave a Reply

Your email address will not be published.