Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

how to make it right to left for Arabic page only?


  • You cannot reply to this topic
4 replies to this topic

#1 otoor

  • Community Member
  • 19 posts
  • Real Name:Mohannad
  • Gender:Male

Posted 05 October 2008, 16:10

Hello,

I have found a way to make the Arabic page (right to left)

Quote

define('HTML_PARAMS','dir="rtl" lang="ar"');

change it to:
define('HTML_PARAMS','dir="ltr" lang="ar"');


the text got well as I want

But, I got this problem with style:

[img]http://img528.imageshack.us/img528/2299/screenshot2gp5.gif[/img]



it should be like this style in English:


[img]http://img79.imageshack.us/img79/2160/screenshot3nz4.gif[/img]

#2 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 05 October 2008, 17:08

Assume those are the settings in /includes/languages/arabic.php, what have you got set up in english.php?
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.

#3 otoor

  • Community Member
  • 19 posts
  • Real Name:Mohannad
  • Gender:Male

Posted 05 October 2008, 18:56

View Postgeoffreywalton, on Oct 5 2008, 08:08 PM, said:

Assume those are the settings in /includes/languages/arabic.php, what have you got set up in english.php?


thanks alot for caring to help me

this one from Eng.php


// Global entries for the <html> tag define('HTML_PARAMS','dir="LTR" lang="en"');

#4 hassanayoub85

  • Community Member
  • 20 posts
  • Real Name:Hassan Ayoub

Posted 17 November 2010, 07:36

Did you found a solution?

#5 ahmed_ragab41

  • Community Member
  • 2 posts
  • Real Name:ahmed

Posted 05 October 2011, 07:51

where did you change the code ??
its not in eng.php