RTL Langueges issues. - Posted (1853 Views)
Average Member
/mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
Posts: 350
starstarstar
Hi, tanx for this Topic.

1. In all RTL languages "‍Content Messages" must set to right of DIV. (Except the part that is manually aligned to left.), with a class set by lang can be setting right view.
2. Content of "code tag" always has LTR direction.
3. All Input & Textarea direction always set to rtl by default. And, if needed, use the code.
4. All Input directions for "Usernames, passwords, emails or Urls" must set as LTR dir.(with class)
5. I suggest you create several CSS classes with the following titles.
  • rtl, ltr, right, left, center, top, bottom, middle or any ...
  • 6. All issues in Arabic same as Persian.
     Sort direction, for dates DESC means newest first    Page size 
    Posted
    Forum Administrator
    /mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
    Posts: 4393
    starstarstarstarstar
    need to try and sort out the quote tags though


    They don't work in rtl
    Posted
    Average Member
    /mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
    Posts: 350
    starstarstar
    نوشته شده توسط HuwR There are already bootstrap classes to do this pull-right and pull-left, if you want it to auto swap when changing between rtl/ltr you can combine them with flip

    so class="pull-left flip" will swap from float:left to float:right if direction changes


    TanxthumbsUp
    Posted
    Forum Administrator
    /mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
    Posts: 4393
    starstarstarstarstar
    There are already bootstrap classes to do this pull-right and pull-left, if you want it to auto swap when changing between rtl/ltr you can combine them with flip

    so class="pull-left flip" will swap from float:left to float:right if direction changes
    Posted
    Average Member
    /mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
    Posts: 350
    starstarstar
    Can you add 2 css classes?

    float-r
    float-l
    Code:

    .float-r { float:right;}
    .float-l { float:left;}
    Posted
    Forum Administrator
    /mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
    Posts: 4393
    starstarstarstarstar
    thumbsUp
    Posted
    Average Member
    /mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
    Posts: 350
    starstarstar
    Test for Tag Code direction def

    Code:

    Response.write"<table></table>"


    very good.. all of them are Ok
    Posted
    Forum Administrator
    /mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
    Posts: 4393
    starstarstarstarstar
    Originally posted by sadra Hi, tanx for this Topic.

    1. In all RTL languages "‍Content Messages" must set to right of DIV. (Except the part that is manually aligned to left.), with a class set by lang can be setting right view.
    2. Content of "code tag" always has LTR direction.
    3. All Input & Textarea direction always set to rtl by default. And, if needed, use the code.
    4. All Input directions for "Usernames, passwords, emails or Urls" must set as LTR dir.(with class)
    5. I suggest you create several CSS classes with the following titles.
  • rtl, ltr, right, left, center, top, bottom, middle or any ...
  • 6. All issues in Arabic same as Persian.


    1. should be now
    2. code tag should now always be ltr
    3. Most now sorted
    4. Most now sorted
    5. done
    Posted
    Forum Administrator
    /mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
    Posts: 4393
    starstarstarstarstar
    Originally posted by HuwR sorry, which is true, the top two or bottom two lines smile


    bottom two lines

    mmm. nested quote not correct!
    Posted
    Forum Administrator
    /mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
    Posts: 4393
    starstarstarstarstar
    Originally posted by HuwR sorry, which is true, the top two or bottom two lines smile


    bottom two linesthumbsUp
    Posted
    Average Member
    /mvc/ProtectedContent/Avatar/sadra132338283059455318.jpg
    Posts: 350
    starstarstar
    Originally posted by HuwR sorry, which is true, the top two or bottom two lines smile


    bottom two lines