php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44498 RTL manual entries display issues
Submitted: 2008-03-21 15:43 UTC Modified: 2018-07-23 10:51 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: philip@php.net Assigned: kalle (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Internet
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philip@php.net
New email:
PHP Version: OS:

 

 [2008-03-21 15:43 UTC] philip@php.net
Description:
------------
The PHP Manual has a few RTL (right-to-left) languages, and phpweb has issues displaying them. For example, this code:

<?php

Shows as this:

php?>




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-05 04:11 UTC] kalle@php.net
Wouldn't it be most logical to put a dir="ltr" on every example tags so examples always would show as "left-to-right", even though comments and such might be written from "right-to-left" it shouldn't be that big of an issue :)
 [2008-11-05 07:17 UTC] bjori@php.net
It would.

We back in the day some rtl language translator added dir="rtl" to the XML sources... For some reason Gabor strongly disagreed and remove the attribute, leaving us in the situation we are in today.

I would very much welcome the usage of dir attributes in rtl translations.

 [2008-11-29 16:44 UTC] kalle@php.net
Perhaps we should mail those active languages who may want to use RTL mode and hear if its needed. I don't think it would be that big of a deal to implement :)
 [2018-05-08 19:18 UTC] cmb@php.net
To my knowledge, none of the active languages are RTL.
 [2018-07-23 10:50 UTC] kalle@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=phd.git;a=commit;h=0cffbf99a466ee74068aeaad63c9f9fc5fd2761d
Log: Fixed bug #44498 (RTL manual entries display issues)
 [2018-07-23 10:50 UTC] kalle@php.net
-Status: Open +Status: Closed
 [2018-07-23 10:51 UTC] kalle@php.net
-Assigned To: +Assigned To: kalle
 [2018-07-23 10:51 UTC] kalle@php.net
I committed a change that explicitly forces dir="ltr" on programlistings for the PHP format
 [2018-07-23 19:15 UTC] kalle@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=phd.git;a=commit;h=118b4c15de6ff45e856ec9b8b229fc5fcc1e8fa4
Log: Revert &quot;Fixed bug #44498 (RTL manual entries display issues)&quot;
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC