rbelow / blueprintcss

Automatically exported from code.google.com/p/blueprintcss
1 stars 0 forks source link

No RTL support #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Out of the box, Blueprint can't be used on Hebrew or Arabic language sites,
meant to be read from right to left (RTL). To make Blueprint support RTL,
it's styles need to be edited manually.

The changes are mostly trivial.

Every "right" needs to be changed to a "left", and margins and paddings
that are not symmetrical need to be flipped. For Hebrew, it's also
recommended to choose fonts that have Hebrew glyphs - namely "Arial
(Hebrew)" or just Arial.

Fancy typography does not really apply to Hebrew and Arabic, and most of it
needs to be turned off.

Finaly, the grid image needs to flipped.

It would be great if this could be incorporated as a plugin or something
like that.

I included a zip with an RTLed version of blueprint 0.6. I'd be glad to
help more.

Original issue reported on code.google.com by ran.hart...@gmail.com on 27 Sep 2007 at 5:06

Attachments:

GoogleCodeExporter commented 8 years ago
Good suggestion. Would you be interested in developing a RTL plugin? I think 
this would be the best solution.

Original comment by ola...@gmail.com on 28 Sep 2007 at 4:26

GoogleCodeExporter commented 8 years ago
I'm already behind on other projects I'm involved with, but since I'm using 
Blueprint
on several RTL sites, I'll do my best to at least get the ball rolling. I would 
be
great if another developer with more experience in Arabic would join - I only 
know
Hebrew.

Original comment by ran.hart...@gmail.com on 28 Sep 2007 at 9:50

GoogleCodeExporter commented 8 years ago
Very cool, send me an e-mail when you'd like to check something into the SVN. 
:) Even if it's just a start, you 
should check it in, as I'd like to contribute to this plugin myself. :)

Original comment by ola...@gmail.com on 29 Sep 2007 at 12:54

GoogleCodeExporter commented 8 years ago
Versus making the changes/modifying directly, would it make more sense to use 
some
type of parent class on the same level as .container (i.e. .rtl), and just add 
those
specific style-rules mentioned above?

Original comment by stech...@gmail.com on 19 Oct 2007 at 8:12

GoogleCodeExporter commented 8 years ago
@ran.hartstein: do you have a sample markup we can checkout that plays w/ what 
you
have attached earlier? 

Original comment by stech...@gmail.com on 19 Oct 2007 at 8:16

GoogleCodeExporter commented 8 years ago
Here is a very rudimentary version of an RTL plugin for Blueprint. I tested it 
on the
provided sample files, with Firefox only. It probably still needs a lot of work,
currently the most glaring issue is the prevelance of "!important". I'm not very
smart when it comes to specificity, so I just used it everywhere to make sure
everything gets picked up and not ignored.

Original comment by ran.hart...@gmail.com on 27 Oct 2007 at 7:21

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, I'll check it out. :)

Original comment by ola...@gmail.com on 18 Nov 2007 at 1:26

GoogleCodeExporter commented 8 years ago
I can easily fix the !important issue by using body .class for proper 
specificity. 

One question though. Why have you changed the typography. Does the RTL support 
need this, or is it just a 
preference of yours? :)

Original comment by ola...@gmail.com on 18 Nov 2007 at 1:36

GoogleCodeExporter commented 8 years ago
Hebrew and Arabic aren't Latin languages, they have completely different 
scripts with
different typographical traditions. 

Specifically, the special fonts used in Blueprint don't have Hebrew and Arabic
glyphs, and leaving them will cause Latin text to clash with Hebrew and Arabic.

Original comment by ran.hart...@gmail.com on 18 Nov 2007 at 1:42

GoogleCodeExporter commented 8 years ago
Sounds good. I've added the plugin to the SVN. Could you check it out and see 
if it works as intended? It will 
need more testing and refinement, but at least now we have experimental support 
for RTL languages. :)

Original comment by ola...@gmail.com on 18 Nov 2007 at 4:43

GoogleCodeExporter commented 8 years ago
RTL plugin now in SVN, seems to work fine. Further testing needed, but 
preliminary RTL support fixed. 

Add new issues if this plugin breaks somewhere. :)

Original comment by ola...@gmail.com on 13 Jan 2008 at 3:08