RTL Langueges issues.

Snitz™ .NET Core
https://www.reddick.co.uk/mvc/Topic/Posts/4809?pagenum=1
Jul 01, 2025 17:26

Topic


sadra
RTL Langueges issues.
Sep 29, 2018 10:49


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.

     

    Replies ...


    HuwR
    9/29/2018 10:14:33 AM..ToLocalTime().ToForumDisplay()


    questionQuestion.
    If a post contains mixed content, should the English display from left of message window and Persian from right? i.e. do they need floats as well as direction
    sadra
    9/29/2018 10:35:01 AM..ToLocalTime().ToForumDisplay()


    Adjusting the "left to right" and "right to left" "message or part of message" should be done by User. and with the or codes ...
    Note: Flotation should not be done automatically by javascript coding force. And By default, the align or direction of "content message" should be inherited of page direction and align. In Content "just": Code tag content always set to ltr dir.
    HuwR
    9/29/2018 10:45:33 AM..ToLocalTime().ToForumDisplay()


    just so I understand smile should it display as the top two lines or the bottom two
    sadra
    9/29/2018 11:00:02 AM..ToLocalTime().ToForumDisplay()


    Originally posted by HuwR just so I understand smile should it display as the top two lines or the bottom two

    Excellent. this is truethumbsUp
    HuwR
    9/29/2018 12:56:34 PM..ToLocalTime().ToForumDisplay()


    sorry, which is true, the top two or bottom two lines smile
    sadra
    9/29/2018 1:03:02 PM..ToLocalTime().ToForumDisplay()


    Originally posted by HuwR sorry, which is true, the top two or bottom two lines smile

    bottom two lines
    HuwR
    9/29/2018 1:04:16 PM..ToLocalTime().ToForumDisplay()


    Originally posted by HuwR sorry, which is true, the top two or bottom two lines smile

    bottom two linesthumbsUp
    HuwR
    9/29/2018 1:05:06 PM..ToLocalTime().ToForumDisplay()


    Originally posted by HuwR sorry, which is true, the top two or bottom two lines smile

    bottom two lines
    mmm. nested quote not correct!
    HuwR
    9/29/2018 9:14:27 PM..ToLocalTime().ToForumDisplay()


    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
    sadra
    9/30/2018 8:20:14 AM..ToLocalTime().ToForumDisplay()


    Test for Tag Code direction def

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

    very good.. all of them are Ok
    HuwR
    9/30/2018 8:51:14 AM..ToLocalTime().ToForumDisplay()


    thumbsUp
    sadra
    10/2/2018 3:29:52 AM..ToLocalTime().ToForumDisplay()


    Can you add 2 css classes?
    float-r
    float-l
    Code:
    
    .float-r { float:right;}
    .float-l { float:left;}
    HuwR
    10/2/2018 7:59:19 AM..ToLocalTime().ToForumDisplay()


    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
    sadra
    10/2/2018 10:52:42 AM..ToLocalTime().ToForumDisplay()


    نوشته شده توسط 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
    HuwR
    10/2/2018 4:48:50 PM..ToLocalTime().ToForumDisplay()


    need to try and sort out the quote tags though

    They don't work in rtl
    © 2016-2025 Snitz™ Forums MVC