<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>may be this is better suited for the themes list, 
but here we try also.</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>I have been trying to hack the 
internet_services theme to work well in a multilingual environment, with an rtl 
locale, (arabic). here is what I did so far:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>1. in my template.php file I put the following 
function to load the correct style sheet depending on the locale:<BR>function 
phptemplate_stylesheet_import($stylesheet, $media = 'all') {<BR>$rtl = 
in_array(locale_initialize(), array('ar', 'fa', 'he', 'ur'));<BR>if (!$rtl) 
{<BR>return theme_stylesheet_import($stylesheet, $media);<BR>}<BR>if 
($stylesheet == base_path() . 'misc/drupal.css') {<BR>$stylesheet = base_path() 
. 'misc/drupal-rtl.css';<BR>}<BR>if ($stylesheet == base_path() . 
path_to_theme() . '/style.css') {<BR>$stylesheet = base_path() . path_to_theme() 
. '/style-rtl.css';<BR>}<BR>return theme_stylesheet_import($stylesheet, 
$media);<BR>}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>2. I modified the direction in the file 
style-rtl.css file that is supposed to get loaded when the locale is right to 
left like this:<BR>/* rtl */<BR>body {<BR>direction: rtl;<BR>/* text-align: 
right; */</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>3. in that same file, I replaced each occurance of 
float: left to float: right<BR>as you can see at<BR><A 
href="http://www.nattiq.net">www.nattiq.net</A><BR>the site looks lovely in the 
english locale, and most of I wanted to achieve in the arabic one also is 
looking good, except for the issue of the right hand<BR>block, it displays after 
some space. and, isn't this side bar, according to the code, supposed to be at 
the left hand side when the language is arabic?<BR>can somebody look at the code 
and give me some ideas? I would be grateful for any. does it look the same way 
in browsers other than internet explorer? the<BR>link is:<BR><A 
href="http://www.nattiq.net">www.nattiq.net</A><BR>Regards,<BR>Mohammed 
al-shar'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>