Hi,
I’m currently working on providing rtl support to iTop UI,
and I’m having problems editing iTop inline css.
I would appreciate if anyone can help me with this matter or share similar experience.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We had a feedback once from someone trying to localize iTop in a RTL language. I believe that a few things must be adjusted (on top of the CSS itself) to properly support RTL languages in iTop. I'm willing to help you, but:
1) I don't speak/read any RTL language and
2) I have no idea how much "localization" is expected by the end users (for example the main menu is displayed on the left in iTop. Would they expect the menu to be on the right of the screen?)
The first thing I would suggest to try is to change the class iTopWebPage (application/itopwebpage.class.inc.php) at line 592:
Change:
$sHtml .= "<html>\n";
To:
$sHtml .= "<html dir=\"rtl\">\n";
And see what happens...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Denis,
Thank you for your help.
Yes the main menu is expected to be on the right of the screen.
I tried changing the left-pane before, but with no success because I didn't know what exactly I need to edit.
I tried your recommended changes after changing the css and the result is in the attached image.
I also tried changing the global-search div as follows:
Hi,
I’m currently working on providing rtl support to iTop UI,
and I’m having problems editing iTop inline css.
I would appreciate if anyone can help me with this matter or share similar experience.
Thanks.
Hello Mahmoud,
We had a feedback once from someone trying to localize iTop in a RTL language. I believe that a few things must be adjusted (on top of the CSS itself) to properly support RTL languages in iTop. I'm willing to help you, but:
1) I don't speak/read any RTL language and
2) I have no idea how much "localization" is expected by the end users (for example the main menu is displayed on the left in iTop. Would they expect the menu to be on the right of the screen?)
The first thing I would suggest to try is to change the class iTopWebPage (application/itopwebpage.class.inc.php) at line 592:
Change:
To:
And see what happens...
Dear Denis,
<input type="text" name="text" value="'.$sText.'" '.$sonclick.'="">Thank you for your help.
Yes the main menu is expected to be on the right of the screen.
I tried changing the left-pane before, but with no success because I didn't know what exactly I need to edit.
I tried your recommended changes after changing the css and the result is in the attached image.
I also tried changing the global-search div as follows:
';
Appreciate your help.
Last edit: Mahmoud Daif 2015-04-09
Dear Denis,
I was wondering if you have any updates regarding my previous post? Thanks.