convert in RTL

Locked
black_zoro143
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Nov 16, 2008 10:39 pm

convert in RTL

Post by black_zoro143 » Mon Nov 17, 2008 7:37 am

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

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: convert in RTL

Post by mic » Mon Nov 17, 2008 7:53 am

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

black_zoro143
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Sun Nov 16, 2008 10:39 pm

Re: convert in RTL

Post by black_zoro143 » Mon Nov 17, 2008 8:10 am

thanks alot for your quick reply!
after editing in xml, don't i need to edit any html file etc?

mic
Joomla! Guru
Joomla! Guru
Posts: 692
Joined: Thu Aug 18, 2005 10:51 pm
Location: Austria
Contact:

Re: convert in RTL

Post by mic » Mon Nov 17, 2008 9:04 am

This is done by $this->direction.
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

User avatar
adnanamir
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Tue May 16, 2006 12:53 pm

Re: convert in RTL

Post by adnanamir » Fri Dec 19, 2008 5:02 am

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

User avatar
adnanamir
Joomla! Explorer
Joomla! Explorer
Posts: 262
Joined: Tue May 16, 2006 12:53 pm

Re: convert in RTL

Post by adnanamir » Fri Dec 19, 2008 5:07 am

Please dwnload complete RTL template converting tutorial from following link.

http://yrajabi.persiangig.ir/document/R ... _Guide.pdf

Eddy

coreman
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Mon Dec 22, 2008 11:11 am
Location: MLY
Contact:

Re: convert in RTL

Post by coreman » Wed Dec 24, 2008 11:40 pm

adnanamir wrote:Please dwnload complete RTL template converting tutorial from following link.

http://yrajabi.persiangig.ir/document/R ... _Guide.pdf

Eddy
thanks a lot for great tutorial
http://www.coretemplate.com
Free Extensions, Free Templates, Free Tutorials, Free Trouble Shooting

http://coretemplate.com/demo/
Demo For Free Templates

eyashwant
I've been banned!
Posts: 960
Joined: Wed Dec 03, 2008 9:28 am
Contact:

Re: convert in RTL

Post by eyashwant » Wed Jan 28, 2009 12:28 pm

I did not get it properly as on that tutorial. Only the images.

e-iqra
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Thu Mar 04, 2010 10:48 pm

Re: convert in RTL

Post by e-iqra » Mon Apr 12, 2010 6:36 am

AGAR YEH FILE URDU MEN KOI TARJUMA KARDE TO KITNI ASAANI HO JAE


Locked

Return to “Urdu Forum”