twbs/bootstrap — pull request #11931 by mdo (2013-12-19 04:41:56+00:00)
Title: WIP: Add RTL support

This is a heavily WIP pull request to add RTL support to v3.1.

### Strategy

There are two primary ways to implement RTL: rewrite the core files to include mixins for directional properties, or a separate optional file. I've opted for the latter here.

### Implementation

This stubs out the ground work for adding RTL by updating the Gruntfile to compile and minify the CSS files for `bootstrap-rtl.css` from `rtl.less`. It also adds an example, based on the Theme example, to showcase the changes. Currently it looks like this:

![screen shot 2013-12-18 at 8 40 04 pm](https://f.cloud.github.com/assets/98681/1780199/b0876080-6867-11e3-8baa-f3032b9403fe.png)
![screen shot 2013-12-18 at 8 40 42 pm](https://f.cloud.github.com/assets/98681/1780200/c0a516e2-6867-11e3-8691-7bd4b53301cc.png)

### Feedback

I'm pausing here to get feedback from folks. This results in a lot of duplicate code, which sucks in some ways and doesn't in others. I'd love for folks to weigh in on things to be aware of, alternate implementations, bugs in what I've done thus far, oversights, etc.