The Joomla! Forum ™






Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: convert in RTL
PostPosted: Mon Nov 17, 2008 7:37 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Nov 16, 2008 10:39 pm
Posts: 3
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


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Mon Nov 17, 2008 7:53 am 
Joomla! Guru
Joomla! Guru

Joined: Thu Aug 18, 2005 10:51 pm
Posts: 697
Location: Austria
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


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Mon Nov 17, 2008 8:10 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Nov 16, 2008 10:39 pm
Posts: 3
thanks alot for your quick reply!
after editing in xml, don't i need to edit any html file etc?


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Mon Nov 17, 2008 9:04 am 
Joomla! Guru
Joomla! Guru

Joined: Thu Aug 18, 2005 10:51 pm
Posts: 697
Location: Austria
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


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Fri Dec 19, 2008 5:02 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue May 16, 2006 12:53 pm
Posts: 258
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


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Fri Dec 19, 2008 5:07 am 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue May 16, 2006 12:53 pm
Posts: 258
Please dwnload complete RTL template converting tutorial from following link.

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

Eddy


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Wed Dec 24, 2008 11:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Dec 22, 2008 11:11 am
Posts: 6
Location: MLY
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


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Wed Jan 28, 2009 12:28 pm 
Joomla! Guru
Joomla! Guru

Joined: Wed Dec 03, 2008 9:28 am
Posts: 964
I did not get it properly as on that tutorial. Only the images.

_________________
Karnika E Yashwant
18+ Professional Joomla Services- http://www.ens.org.in
Joomla Custom Development - Components/Modules/Plugins/Templates
J! Trouble Shooting, Debugging, SEO, Security, E-Commerce & Community Solution, J! 2.5 Extended Support


Top
 Profile  
 
 Post subject: Re: convert in RTL
PostPosted: Mon Apr 12, 2010 6:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 04, 2010 10:48 pm
Posts: 13
AGAR YEH FILE URDU MEN KOI TARJUMA KARDE TO KITNI ASAANI HO JAE


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 



Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group