An Early Release of the New cssrtl.py-2.0

It has been three years since I released the original version of cssrtl.py (and two since its re-release). The old version did a nice job, but experience gained during that time led me to write a new version from scratch. More than a month ago, I detailed the basic principles and ideas that guided me in designing a better tool to help adapt CSS files from left-to-right to right-to-left.

The guidelines weren’t just empty words; they were written while working on the Hebrew adaptation of the Fusion theme and at the same time writing a new proof-of-concept version of cssrtl.py. The original intent was to release a more mature version of that code when it was completed. However, due to the apparent shortage of time in the present and foreseeable future, I can’t see myself completing the project any time soon. So, following the “release early” mantra, I’ve decided to release the code as-is. As I said, the code is in a working state, but not polished, so it may be beneficial but may contain bugs. If you find any bugs or have any suggestions, I would be glad to hear.

Download

You can download the new version from here: cssrtl.py-2.0.tar.bz2. The code is available under the GPLv2 or any later version.

Usage

The new version works by creating a separate CSS “fix” file that fixes the directionality of the CSS styles.

./cssrtl.py < main.css > main-rtl.css

Afterward, just link main-rtl.css after main.css in your HTML files.

5 thoughts on “An Early Release of the New cssrtl.py-2.0”

  1. The script aids in “translating” CSS files. It doesn’t assume anything on what produced the actual html. So it should be useful for Dolphin, but it would require, of course, some manual tweaking of the result.

  2. Hey dear friend, Could you help me converting my dolphin 7 to rtl ,i would pay you or make you a logo for your website .

    Regards, Altin 🙂

  3. Alright guy,

    I would really appreciate if anytime ,maybe next weekend, month, year, you could do a more detailed tutorial on how to put this thing on dolphin 7 cms.

    Thanks a lot for your consideration, Altin.

Leave a Reply

Your email address will not be published. Required fields are marked *