Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rtl support
#6
It's quite basic really. these changes should be made to the css file admin\template\css.php:

ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input {
...
direction: rtl;
}
All text-align should be 'right' instead of left.
The rightsec class should be changed to float right as well.
In order to force using Hebrew as default language, I've changed line #163 in admin\inc\common.php:
$LANG = 'he_IL';
This will take care of the installation phase.
To have the admin section rtl:
In admin\template\header.php, I've added a class to the header div ca;;ed rtl_header:
<div class="wrapper clearfix rtl_header"> , and added 2 css rules to css.php:
.rtl_header h1{
position: relative;
float: right;
}
.rtl_header #pill{
position: relative !important;
float: left;
}

As for running the whole site as rtle one, the selected theme must be adjusted, or a new theme should be built.

Actually, this is quite tedious job, and maybe I'll find the energy to automate this with some parameter added to the configuration file, and some coding.
Reply


Messages In This Thread
rtl support - by HagayM - 2013-11-01, 07:36:00
RE: rtl support - by shawn_a - 2013-11-01, 07:40:36
RE: rtl support - by HagayM - 2013-11-01, 07:46:55
RE: rtl support - by HagayM - 2013-11-01, 16:01:50
RE: rtl support - by shawn_a - 2013-11-01, 22:35:40
RE: rtl support - by HagayM - 2013-11-02, 01:41:41
RE: rtl support - by shawn_a - 2013-11-02, 02:31:46



Users browsing this thread: 1 Guest(s)