How to write RTL in Gmail

This is useful for people who write right-to-left sometimes, as is done in Hebrew, Arabic, Persian and other languages.
So far I only have a solution for Firefox users, but I strongly recommend the browser to anyone. If you don't like 'messing around' with the computer and refuse to use anything but Internet Explorer, you're probably beyond my help anyway. Wait for Google fix this themselves, or write in English.

So if you use Firefox, install the Clippings add-on from the Mozilla site: https://addons.mozilla.org/en-US/firefox/addon/1347
It's a good add-on. I recommend learning the basics of it for other uses as well.

Now download the Clippings export file I made from http://www.mediafire.com/?sharekey=950ac357b5088b54d2db6fb9a8902bda
It contains two clippings - 'RTL embed' and 'RTL end'. Each clipping is a single control character, U+202B and U+202C respectively, which start and terminate a region of RTL directionality.
To import the file into Clippings, right click any text-box in Firefox, select Clippings > Organize Clippings, in the dialogue click Options > Import, and select the file.

Your setup is now done. To switch to RTL in Gmail (or any other text-box in Firefox), simply right click and select Clippings > RTL embed. In most web pages, starting a new paragraph or aligning the text to the left will terminate the RTL region, but if you want to terminate it yourself you can right click and select Clippings > RTL end.

I've also defined shortcuts for the clippings (which you can change), but the shortcuts only work while input mode is English (once you start typing in Hebrew, for example, you have to switch back to English to use the shortcuts). Press ctrl+alt+v to enter Clippings' shortcut mode, and then 'v' for embed or 'f' for end.

Enjoy.

Comments

Unknown said…
Thanks! It worked for me and finally resolved this annoying issue!

Roni
DimT said…
The mediafire link seems to be dead now, can you please reupload your export file? The gmail rtl support annoys me to no end.

Thanks.
Near Privman said…
There has indeed been some problem with mediafire. I've re-uploaded and updated the link in the post.
They say they keep the files available for good, but it looks like they had some sort of glitch. Hope it sticks this time.
Royi said…
Is there a chance to write those characters using a keyboard combination?

Very helpful, thanks.
Hopefully Google we'll solve this problem soon.
Near Privman said…
Unfortunately and for a reason I don't understand, the special control characters cannot be produced by keyboard shortcuts (alt+202B etc.). Not on WinXP anyway.

I would recommend using a keyboard shortcut script to create the sequence to switch to english (if necessary) ctrl+alt+v, v and switch back.

If you're using windows you can use AutoHotKey ( http://www.autohotkey.com/download/ ) and the script I made for it ( http://www.mediafire.com/?sharekey=950ac357b5088b54d2db6fb9a8902bda )

You can also try unicodeinput ( http://www.fileformat.info/tip/microsoft/enter_unicode.htm ), which I used to create the Clippings file, but uninstalled as I found it a bit unstable (perhaps only load it when using Gmail).

Popular posts from this blog

Why write a blog?

Multiple Accounts in a Single Browser