MyBB Community Forums

Full Version: Right to Left in MyBB 1.8
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If i change the direction of language to right to left all of the texts in theme must align right but in mybb they have algin left yet,
please see this pics:
XenForo ltr:
http://up.vbiran.ir/uploads/2054140198531714011_a.jpg
XenForo rtl:
http://up.vbiran.ir/uploads/7440140198539625940_a.jpg

But
MyBB ltr:
http://up.vbiran.ir/uploads/10934140199458644468_a.jpg

MyBB rtl:
http://up.vbiran.ir/uploads/45208140199463819341_a.jpg

But I think it should be
http://up.vbiran.ir/uploads/31192140199474732267_a.jpg
for Right to Left
If you are writing a RTL language then provide a RTL theme with it. I don't think there is an easy way to support RTL apart from include a RTL theme for new installations - increasing the time for updating templates with new features.
But this is no difficult,
I think we should use a stylesheet for RTL language and for templates replace left to {$lang->is_direction} and right to {$lang->no_direction}
for LTR:
$lang->is_direction = 'left' and $lang->no_direction = 'right'
for RTL:
$lang->is_direction = 'right' and $lang->no_direction = 'left'
(2014-06-06, 07:25 AM)JordanMussi Wrote: [ -> ]If you are writing a RTL language then provide a RTL theme with it. I don't think there is an easy way to support RTL apart from include a RTL theme for new installations - increasing the time for updating templates with new features.
Hi,

but there are many Persian forums using great MYBB
if not support RTL so that increasing the time for updating templates for any one that are use RTL language.

if possible add style sheet for RTL language

i think with RTL style sheet templates update does not require a lot of time

Thanks for great works

Heart
Many things just use classes. All you need to do is edit the CSS to fit a RTL theme. I agree with Jordan.
I think it's good if admin can attach a stylesheet to Direction.