How to maintain RTL version of stylesheets with rails asset pipeline?

Hi,

I want to build a sleek solution that let’s me run a website serving
both
rtl and ltr locales, but only having to maintain one set of stylesheets.

I’ve described my idea and question on stackoverflow, and encourage
anyone
with interest or insights into the asset pipeline to check it out and
contribute if possible:

Thanks!
/Jeppe

Hi guys,

Since no-one could answer me the way I wanted, I went ahead and created
a
solution:

https://github.com/monibuds/stylesheet_flipper

It’s on rubygems.org, currently in version 0.0.2 and it’s in production
on
app.monibuds.com.

If you like the solution, feel free to upvote my answer on
http://stackoverflow.com/questions/11349186 :wink:

If you don’t like it, please tell me why.

monibuds is a startup that aims to improve conversion on ecommerce
sites,
by providing targeted functionality in the right time and context of the
shopping experience.

So to all of you guys who work with webshops, contact me or Avishay
Gaziel
on [email protected] to get acquainted.

Regards,

Jeppe Liisberg

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs