convert in RTL
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Nov 16, 2008 10:39 pm
convert in RTL
hello!
i have joomla template but i want to to convert in RTL language format, please tell me which pages i have to edit and what code???
actually i want to convert only my joomla template (third party installation template) into urdu format(RTL) not main joomla template (admin template).
please help me....
thank you
i have joomla template but i want to to convert in RTL language format, please tell me which pages i have to edit and what code???
actually i want to convert only my joomla template (third party installation template) into urdu format(RTL) not main joomla template (admin template).
please help me....
thank you
-
- Joomla! Guru
- Posts: 692
- Joined: Thu Aug 18, 2005 10:51 pm
- Location: Austria
- Contact:
Re: convert in RTL
RTL or LTR is defined in the language xml, for example: en-GB.xml -> <rtl>0</rtl> (which means RTL = no
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team
-
- Joomla! Fledgling
- Posts: 3
- Joined: Sun Nov 16, 2008 10:39 pm
Re: convert in RTL
thanks alot for your quick reply!
after editing in xml, don't i need to edit any html file etc?
after editing in xml, don't i need to edit any html file etc?
-
- Joomla! Guru
- Posts: 692
- Joined: Thu Aug 18, 2005 10:51 pm
- Location: Austria
- Contact:
Re: convert in RTL
This is done by $this->direction.
In your template you have to implement this (if it is not already done)
In your template you have to implement this (if it is not already done)
http://www.joomx.com - custom extensions and development
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team
http://www.joomlasupportdesk.com - support, migration, training and consulting
Member of the German Joomla Translation Team
- adnanamir
- Joomla! Explorer
- Posts: 262
- Joined: Tue May 16, 2006 12:53 pm
Re: convert in RTL
For RTL template you should also edit CSS file.
In the css file(s), do the following global search and replace:
* replace "left" with "rigxht"
* replace "right" with "left"
* replace "rigxht" with "right"
* you may have to do some right/left replacing in the index.php file too, especially to correct module location since the ones on the right will show up on the left (an easy fix there is to modify the index.php file by caling the right module left and the left module right).
regards,
Eddy
In the css file(s), do the following global search and replace:
* replace "left" with "rigxht"
* replace "right" with "left"
* replace "rigxht" with "right"
* you may have to do some right/left replacing in the index.php file too, especially to correct module location since the ones on the right will show up on the left (an easy fix there is to modify the index.php file by caling the right module left and the left module right).
regards,
Eddy
- adnanamir
- Joomla! Explorer
- Posts: 262
- Joined: Tue May 16, 2006 12:53 pm
Re: convert in RTL
Please dwnload complete RTL template converting tutorial from following link.
http://yrajabi.persiangig.ir/document/R ... _Guide.pdf
Eddy
http://yrajabi.persiangig.ir/document/R ... _Guide.pdf
Eddy
-
- Joomla! Apprentice
- Posts: 6
- Joined: Mon Dec 22, 2008 11:11 am
- Location: MLY
- Contact:
Re: convert in RTL
thanks a lot for great tutorialadnanamir wrote:Please dwnload complete RTL template converting tutorial from following link.
http://yrajabi.persiangig.ir/document/R ... _Guide.pdf
Eddy
http://www.coretemplate.com
Free Extensions, Free Templates, Free Tutorials, Free Trouble Shooting
http://coretemplate.com/demo/
Demo For Free Templates
Free Extensions, Free Templates, Free Tutorials, Free Trouble Shooting
http://coretemplate.com/demo/
Demo For Free Templates
-
- I've been banned!
- Posts: 960
- Joined: Wed Dec 03, 2008 9:28 am
- Contact:
Re: convert in RTL
I did not get it properly as on that tutorial. Only the images.
-
- Joomla! Apprentice
- Posts: 13
- Joined: Thu Mar 04, 2010 10:48 pm
Re: convert in RTL
AGAR YEH FILE URDU MEN KOI TARJUMA KARDE TO KITNI ASAANI HO JAE