Hi
Well I translated TP into Hebrew, BUT....
Hebrew is a RTL Language (Right To Left)
And I think my problem it with the Theme, how do I turn everything to RIGHT TO LEFT?
Thank you
Yeshai
Now where is Agridoc when we need him the most :coolsmiley:
I think agridoc will give you the help you need, he is the most advanced staff member we have on this matter i think :)
The right to left feature is set in the theme I believe. Did you test it on the default and other themes?
Here is my problem
With out the TP smf runs perfect with the Hebrew in my forum - check this out http://www.my-audio.net/forum/index.php
As you can see everything is to the right in perfect harmony :)
On another site - www.pdapoint.net I have problems with the forum and the front page
www.pdapoint.net
yeshaibâ„¢ check this http://www.tinyportal.net/index.php?topic=7117.0
As I have no experience for right to left languages, I had called adnan's help there and Bloc has participated. There are different approaches for right to left.
Thank you for the link.
But I don't understand what he means here.
What files do I need to edit?
Thank you
Yeshai
We have 2 solutions in design template website for right align languages .
The first solution :
We define text direction in default like <body dir="rtl">
in SMF we change in index language : $txt['lang_rtl'] = true ;
In this case , all blocks in left show in the right . Like mirror work !!!
The Second solution :
We don't change direction in body !
in SMF we don't change in index language : $txt['lang_rtl'] = false ;
But we should some changes in template and define text direction and alignment in table or div : < table dir="rtl" align="right" ... and <div dir="rtl" align="right
In this case , Position of All block as same as english website !
First keep a backup of files to be edited.
$txt['lang_rtl'] = true ; in index.hebrew.php
Also according to adnan you should delete instances of text-align: left; in index.template.php and TPortalBlocks.template.php. Maybe in other files.
I have checked Mod_instructions_SMF11rc.html and it's true that TP adds some instances with installation. That might be the cause.
Hi agridoc
Thank you and I do need a little bit more help
Now my main page with the TP is perfect
www.pdapoint.net - and thank you for that!!!
But my Forum is still LTR and not RTL :(
http://www.pdapoint.net/index.php?action=forum
And in a post
http://www.pdapoint.net/index.php?topic=3.0
Can you help me out on this one?
Try to find align="left" in index.template.php, delete it and see how it goes.
What can I say ????
"I LOVE YOU" !!!
Thank you so much
Yeshai
Ok me again
How do I convert a Theme?
Take a look
www.pdapoint.net
Something's wrong with the RTL....
Try to do the same with index.template.php and TPortalBlocks.template.php in Azure TP (or any other theme you are using).
However, specific themes may have more instances in other files or may need something more.
I reported this to Bloc and the TP Themes Team.
I looked for the align="left" on the index.template.php in the Azura theme before posting this, but couldn't find anything like it.
But there is no TPortalBlocks.template.php in the Azura folder I'm not sure how I should go on with this....
Quote from: yeshaibâ„¢ on March 09, 2007, 03:34:13 PM
I looked for the align="left" on the index.template.php in the Azura theme before posting this, but couldn't find anything like it.
But there is no TPortalBlocks.template.php in the Azura folder I'm not sure how I should go on with this....
check TPortalBlocks.template.php in default folder
Problem Solved.
Somewhat different but it works.
All Themes must be updated as well...... + Icons
Thanks guys