Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: A right to left css file for the Hebrew language – PLEASE :)

If you look at the top of the default theme’s header (/bb-templates/header.php) you will see:

<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />

<?php global $bb_locale; if ( ('rtl' == $bb_locale->text_direction) ) : ?>

<link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />

<?php endif; ?>

Currently, you have a file called he.mo (is that the right name for Hebrew?) in bbPress’ languages directory.

You should also put a file called he.php in that directory that has the following content.

<?php

$text_direction = 'rtl';

?>

Then, bbPress will know that your language is RTL and should include both the style.css and the style-rtl.css automatically.

But, you’re right. There are a bunch of CSS bugs it looks like. I’ll see what I can do to fix them.

Skip to toolbar