Add Keyword Shortcuts to Google Translate in Firefox
The number of times a day I find my self going to Google Translate or Googling for define: <word> is really amazing, and opening the page over and over is tedious as well. Leaving the tab open is a good way, but hey it will get lost soon in the middle of all the other tabs. One good practice is to memorize and maintain it’s order in each Firefox window, say you place it in second tab. Then you could simply go Ctrl+2 and Firefox will take you to that tab, and you can do your translation. I like the faster way however, using the Keyword for search feature in Firefox bookmarks. Before going into the steps, I think it’s worthy to take a look at the main parameters of the url:
http://translate.google.com/translate_t?hl=en&sl=en&tl=ar#en|ar|test
Now to break it all into peaces, this is my URL which lands a default English to Arabic translation in an English interface, and the parts of the URL taken apart are:
- hl=en: The default interface language. You can change this to hl=ar for instance to get an Arabic version of it.
- sl=en: Default selected source or starting language to translate from in the drop down list. In my case I usually want to translate from English.
- tl=ar: Default selected terminating language in the drop down list to which the source language will get translated, Arabic in this case.
- en|ar|test: The text after the Hash (#) sign is basically the query being sent, and it corresponds accordingly to the source language (en), destination or terminating language (ar), and the text to translate (test), with the vertical bar (“|”) character separating them.
Note: sl & tl are not really so important when you create a keyword shortcut since they only represent the default selected language in the drop down list. They’re just presented here for explanation.
Now to the quick few steps:
1. Go to Organize Bookmarks in Firefox.
2. Right-Click Bookmarks Menu and select New Bookmark.
3. Fill in the parameters as needed, using the below as example (or exactly if what you need is English to Arabic translation):
Name: Google En/Ar Translate
Location: http://translate.google.com/translate_t?hl=en#en|ar|%s
Make sure you change the en & ar to your desired from and to languages.
Keyword: Make it short and meaningful, like “ea” without the double quotes for English-to-Arabic.
Description: This is optional and just for your reference.
That’s it. By now you should be able to translate from English to Arabic (or your choice) from your Firefox Address bar like this:
For vicevers, add another Keyword bookmark. At all rates, once you have it and wanna translate a word, just do Ctrl+L to move to the address bar, write your letters, e.g. “ea Arsenal”, and Alt+Click to open the result in new tab and preserve current one.
NOTE: For Chrome users, there is a way to do just that, but last time I tried the bookmarks manager was still so amature. If you can’t find an easy way to fill in such keywords, do this stupid trick. Add it in Firefox, import it and export it to Chrome ;). Worked for my other bookmarks.
Popularity: 15% [?]
Related Posts:
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.



1st thing I got is how to move between my tabs ;P -don’t kill me- believe me that’s why I read your blog ;P
I use the google translator, that’s why I added it as a gadget in my iGoogle home page! It’s fun, it even remembers my language choice, so I’ll find arabic-english and when I need to switch just click on the arrow between