Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63674

Send message in RTL languages in the messaging UI

    XMLWordPrintable

Details

    • MOODLE_35_STABLE
    • MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-63674-master
    • Hide

      Please test on both theme Boost and Clean using an LTR (for instance, English (en)) and an RTL language (for instance, Persian/فارسی (fa)):

      1. Login as admin
      2. create a test user
      3. Send the test user the following message (copy and paste the following text):
        • Hi تست, How are you?
      4. Verify that the message is shown as   both before sending (in the typing area) and after sending (in the messages area).
      5. Send the test user the following message (copy and paste the following text):
        • سلام Test، خوبی؟
      6. Verify that the message is shown as   both before sending (in the typing area) and after sending (in the messages area)
      7. When using an LTR language (for example en):
        1. Verify that the placeholder text in the typing area is left aligned.
        2. Verify that if you start typing with English characters (for example just type "a"), the alignment of the text does not change.
        3. Verify that of you start typing with a character that belong to an RTL languege (for example just type or copy and paste the character "س"), the alignment of the text changes to right aligned.
      8. When using an RTL language (for example fa):
        1. Verify that the placeholder text in the typing area is right aligned.
        2. Verify that of you start typing with a character that belong to an RTL languege (for example just type or copy and paste the character "س"), the alignment of the text does not change.
        3. Verify that if you start typing with English characters (for example just type "a"), the alignment of the text changes to left aligned.
      Show
      Please test on both theme Boost and Clean using an LTR (for instance, English (en)) and an RTL language (for instance, Persian/فارسی (fa)): Login as admin create a test user Send the test user the following message (copy and paste the following text): Hi تست, How are you? Verify  that the message is shown as   both before sending (in the typing area) and after sending (in the messages area). Send the test user the following message (copy and paste the following text): سلام Test، خوبی؟ Verify that the message is shown as   both before sending (in the typing area) and after sending (in the messages area) When using an LTR language (for example en): Verify that the placeholder text in the typing area is left aligned. Verify that if you start typing with English characters (for example just type "a"), the alignment of the text does not change. Verify that of you start typing with a character that belong to an RTL languege (for example just type or copy and paste the character "س"), the alignment of the text changes to right aligned. When using an RTL  language (for example fa): Verify that the placeholder text in the typing area is right aligned. Verify that of you start typing with a character that belong to an RTL languege (for example just type or copy and paste the character "س"), the alignment of the text does not change. Verify that if you start typing with English characters (for example just type "a"), the alignment of the text changes to left aligned.

    Description

      In right-to-left languages the message body box must be right aligned, and also the sent message.

      In Dashboard->Message , Site-administration->Users->Bulk Actions->Send message , and ....

      Attachments

        1. 1.png
          1.png
          117 kB
        2. 2.png
          2.png
          80 kB
        3. message-ltr.png
          message-ltr.png
          2 kB
        4. message-rtl.png
          message-rtl.png
          1 kB

        Activity

          People

            rezaie9 Shamim Rezaie
            paymanzafar paymanzafar
            Carlos Escobedo Carlos Escobedo
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Mar/19

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h