For bug 484166 we’re moving away from the old search icon to the newer Firefox search icon . Included in this change we need to ensure this icon works for RTL as well as LTR. With bug 481860 offering a way to use css to transform the image I just needed to test that the transform works.
Here are some notes I have from my limited experience working to test application UI in both LTR and RTL. Please drop a comment if you have better experiences, I’d love to be able to save a bit of time.
In the GNOME world to do a simple test of an RTL language you could start up the application with the LANG environment variable set to an appropriate language. For instance:
With Thunderbird I’ve found a number of options to make this happen.
The UILocale flag can be added your command arguments.
thunderbird -UILocale he
For the nightly build you’ll want to grab a translation XPI from the comm-central-l10n nightly builds. You can drag any of those XPI links into the Thunderbird add-on manager window to install them. (saves a bit of time compared to downloading and installing)
For your compiled builds the process seems a bit longer and more difficult getting the translations from l10n-central built in. I gave up half way through as there is an easy method out there already, at least for simple testing.
Force RTL Extension
An easy alternative approach is to use the Force RTL extension, which I only just found out about today. The extension provides an option in the tools menu to trigger RTL mode, which is really a lot better than trying a language you don’t understand. If all you need is to test layout in an RTL this works really well.