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
1 answer

How can I find the first strong directionality character of a string in C#?

Assuming I get a string that can have mixed left-to-right and right-to-left content, I want to find the first strong directionality character in it, as defined here. I think I found a good starting point in this question, but I still can't figure…
Gabriel S.
  • 1,347
  • 11
  • 31
0
votes
2 answers

What is the best way to use latest version of Bootstrap for right-to-left languages like Persian and Arabic?

What is the best way to use latest version of Bootstrap for right-to-left languages like Persian and Arabic? I want a solution that does not change any parts of Bootstrap source code so if I upgraded my Bootstrap version it work fine like before.
nAviD
  • 2,784
  • 1
  • 33
  • 54
0
votes
1 answer

How to make responsive RTL list?

I have a list of links, which looks like: And…
user5623422
0
votes
1 answer

How to create RTL text for arabic and other right to left languages

How are you meant to set text for Arabic. As I understand it, if the following sentence was arabic: "The cat sat on the mat" it would be aligned right and mirrored to read from right to left: "tam eht no tas tac ehT" However if you use the dir="rtl"…
jon
  • 1,429
  • 1
  • 23
  • 40
0
votes
1 answer

DataTable row is partly selected in iPads when app is run in RTL mode

I am noticing a strange behavior only on iPads when app is run in RTL mode. When I tap to make a row 'select', it appears as if the row is not selected. It's row click event & further functionality works properly. I need to scroll the table…
0
votes
1 answer

is it possible to have StoryBoard Primary Design RTL?

I have an application to develop only for RTL language, I have gone with documentation but did not found any way to design storyboard as RTL as my primary language. I don't have any LTR language support. Is it possible to Design all my layout as RTL…
Kanjariya-IOS
  • 652
  • 1
  • 5
  • 17
0
votes
1 answer

Persian (Middle East) string started with a Number in Canvas element

My page has a Canvas that i want to add some text to it.