Questions tagged [right-to-left]

Right to Left (RTL) refers to the scripts of natural languages that are written and read from the right to the left instead from the left to the right, such as Hebrew, Arabic and Persian. For problems with interaction of right-to-left and left-to-right text, prefer the "bidi" tag.

Right to Left (RTL) refers to the scripts of natural languages that are written and read from the right to the left instead from the left to the right. Common examples include the Hebrew alphabet, used by the Hebrew and Yiddish languages, and the Arabic script, used by Arabic, Persian, and many others. For more examples and information, see this Wikipedia article.

Tag usage

  • For problems with interaction of right-to-left and left-to-right text, prefer the tag.
  • Consider adding a tag for the specific language you are using, such as , , , or , as the specific language and/or alphabet may display different behaviors under different circumstances (for example, initial forms in Arabic that have no analogy in Hebrew).

HTML example

Some UI technologies support right to left out of the box. For example the HTML standard has a dir attribute that may receive rtl or ltr (Left to Right) values.

Windows example

Most Windows forms controls also have a property called "RightToLeft", which is of type System.Windows.Forms.RightToLeft and can have the following values:

  1. System.Windows.Forms.RightToLeft.Yes - right to left is switched on.
  2. System.Windows.Forms.RightToLeft.No - right to left is switched off.
  3. System.Windows.Forms.RightToLeft.Inherit - right to left is inherited from the parent control.
1641 questions
0
votes
0 answers

Right to Left for Visual FoxPro

Visual FoxPro has right to left feature but it is related to Windows. When Windows has Arabic language it works. Does anybody know how I can do this without Arabic Windows (like Delphi or VB)?
0
votes
1 answer

How to Slide Element Right to Left by jquery

Trying to Slide p Right to Left direction by jquery to this slider. This slider has fade effect by default, I'm trying give slideLeft effect to p description of slider, not to whole slider elements. HTML:
0
votes
1 answer

jQuery ui datepicker in direction rtl page - position issue

I am working on an Arabic (rtl direction) form with a ui calendar for selecting dob. using jquery.ui.datepicker.js There is no left or right style coming from script to position the calendar near the input location. top value is correct. Now the…
Felix A J
  • 6,300
  • 2
  • 27
  • 46
0
votes
1 answer

How to save text direction default in web sites?

I wonder if there a way to save text direction default- right to left (RTL) or vise versa (left to right-LTR) in different web pages. So when i open specific web site the text direction will be automatically LTR or RTL. I use google chrome so i…
newGIS
  • 598
  • 3
  • 10
  • 26
0
votes
0 answers

Different Style for Select in Chrome and Firefox

I created an html code with select, div and td. select tags are inside div and div is inside td tag. When I click on the drop box, I see different select style. I found out that it was from direction:rtl in the css of select.if I set direction:ltr ,…
behrouz
  • 1
  • 1
0
votes
2 answers

HTML Right to left based on language of data

I have a use case where a paragraph of text could be in any language, based on data that was input by the user elsewhere. I need to display it in right-to-left or left-to-right based on the language of the value. Note: I am not referring to the…
0
votes
2 answers

Moodle development to support RTL (right to left) languages

How can I develop a feature in Moodle to ensure that it will support all languages, including RTL languages such as Arabic and Hebrew?
Joseph Cape
  • 383
  • 1
  • 3
  • 16
0
votes
1 answer

asp : how to place menu's arrow on the left side (for right-to-left web-app)

asp.net-4.5 , Visual-Studio-2013 , Win7. Reproduced the problem on a minimized project : empty web application with 1 web-form with Dir=rtl (right-to-left) and a Menu control. Works fine but the arrows are on the right side and I need them on…
gadi
  • 481
  • 3
  • 14
  • 32
0
votes
1 answer

What are the differences in for RTL bidi (Arabic/Hebrew) support in different versions of Android?

I am looking at supporting RTL in Android and trying to figure out how much effort it would take to support multiple Android OS versions. I know that 4.2 started limited bidirectional (bidi) support. And I know before that, bidi support was much…
gidgets
  • 1
  • 1
0
votes
1 answer

Right align text in Select Dropdown without arrow moving

I would like to right-align the text within a select box, but when I add: dir="rtl" to the select, the default drop-down arrow moves to the left in Firefox while staying on the right in Chrome: http://jsfiddle.net/6dts82hL/ I would like to keep the…
steeped
  • 2,613
  • 5
  • 27
  • 43
0
votes
2 answers

Flow of divs in right-to-left language

Is it possible in HTML to mark a group of divs so that they flow from left-to-right for left-to-right languages while flowing right-to-left for right-to-left languages? That is, the flow would depend on the setting of the html lang attribute. For…
Paul Reiners
  • 8,576
  • 33
  • 117
  • 202
0
votes
4 answers

Removing right-to-left mark and other unicode characters from input in Python

I am writing a forum in Python. I want to strip input containing the right-to-left mark and things like that. Suggestions? Possibly a regular expression?
rhombidodecahedron
  • 7,693
  • 11
  • 58
  • 91
0
votes
1 answer

htmllabel for objective c swaps words for Right to Left Languages [Arabic]

I am using HTMLLabel class to display html content [string with some attributes for subparts (e.g. bold ,italic and color)].I have faced some problems like \n should be replaced
when appending to the content of the HTMLLabel -__- but over all…
iShaalan
  • 799
  • 2
  • 10
  • 30
0
votes
0 answers

datatables ColReorder plugin don't support RTL?

I am using ColReorder plugin for datatables plug-in for jQuery, when i switch the direction of datatable between ltr and rtl in case of ltr it works fine but when switch to rtl the ordering restricted to most right position.
0
votes
1 answer

Sencha extjs 5.0.1: messagebox rtl on move it moves in the opposite direction

I upgraded from Extjs 5.0 to 5.0.1, Then I noticed that the message box moves to the wrong direction (away from the mouse) if the viewport rtl is set to true. Any help?
Muayad Salah
  • 701
  • 1
  • 8
  • 19
1 2 3
99
100