#159 fix rtl problems (support for bidi languages)

closed-fixed
XSL (122)
5
2009-04-03
2008-12-07
No

some languages like Arabic are written from right to left

this mean that alignment should be mirrored for those languages

I made a patch to fix this

first apply the attached patch with -p1

then run this script

for i in html xhtml
do
perl -i -wpe 's/align="left"/align="{\$directions.align.start}"/g' ${i}/*
perl -i -wpe 's/align="right"/align="{\$directions.align.end}"/g' ${i}/*
done

Discussion

  • Robert Stayton

    Robert Stayton - 2009-03-19

    I incorporated this change into the templates and checked them into SVN.

     
  • Robert Stayton

    Robert Stayton - 2009-03-19
    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks