Active
Project:
Managing News
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2009 at 15:07 UTC
Updated:
28 Oct 2010 at 03:18 UTC
RTL languages (Arabic and Hebrew) do not right align
If one takes the below RSS feed for news on Drupal (in Arabic) and adds it to via the Feeds module:
http://news.google.com/news?pz=1&hl=ar&q=%D8%AF%D8%B1%D9%88%D8%A8%D8%A7%...
one will notice that the text is left aligned while it should be right aligned.
Comments
Comment #1
haisam commentedOne feed may have a mixture of RTL and LTR scripts so the display of the text should not be global to the Feed but specific to the feed item.
Comment #2
haisam commentedHere's my rough workaround.
Replace ..../managingnews-1.0-beta5/profiles/managingnews/themes/jake/templates/mn-feeditem.tpl.php with what is below and the RTL languages' title and description will be right aligned. This worked for Arabic, Hebrew and Persian.
Comment #3
Will White commentedThe fix for this is clearly not straightforward as language direction can vary by feed and even by item. I'm not aware if any feed formats that have widely used elements that indicate text direction. If one does exist, please point me in the right direction.
Otherwise, the only approach I can think of is to provide a "Text direction" checkbox on the feed node form so site admins could make a decision on at least the feed level about what reading direction to use. I'm not sure this is something that should be supported in the main Managing News distro, but I could imagine a separate contributed module being effective here.