MyBB Community Forums

Full Version: change language side
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
If I want to change side of the page (I'm trying to make a Hebrew set). where and what I have to change to make it all right to left?
HI you
thanks for your reply
I still have 1-2 things that i didn't understand -
you wrote: "From the 'Extra CSS' section of the Page Container section, remove the "text-align: left;" line."

you mean that I need to go to the admin CP-->Themes-->Modify / Delete -->MyBB Default (of every other theme that i worrk with)--->edit theme stile---> find all the "Extra CSS Attributes" and everywhere I see "text-align: left; /* IE 5 fix */" to change the word ""left" to "right"?
yes sure...
ok
I put:  text-align: left;   in every box (Extra CSS Attributes) thay I have in the theme panel, and all the word goes right now. that's great, thanks. but - I stiil want to to turn over the forum. when I stand in the mean page, the name of the forum need to on the right side, and not on the left. It's like to see the forum through mirror
how can I do that?

thanks!
You will have to recode the templates... for the index forums names all your work in under Forum Bit Templates

Just take those which are on the left to the right and vice versa.. i donno if you know HTML but i hope.

This is my only way..Toungue bit annoying.. i never worked on that.. i hope a hebrew user can confirm if they did it this way. This way works anyway.

regards
can you give me some example for "work in under Forum Bit Templates". what exactly I have to do?

sorry for annoy you
Did you edit the language file to enable RTL?

Open up the language file you're using in inc/languages/ and change the value of $langinfo['rtl'] from 0 to 1.
Well.. for example the template

will look like this after modification
<tr>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong>   <div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
</tr>


remember this is not the RTL text alignment.
I think that I didn't understand "template" as you.
what is template?
Pages: 1 2 3