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

Update language menu to move from the top navigation into the user menu when logged in.

XMLWordPrintable

    • MDL-71683-master-v1
    • Hide

      Setup

      1. Login as Admin.
      2. Create a Course.
      3. Create several activities in the Course.

      Test 1 (Language selector is NOT available when there aren't multiple installed languages)

      1. Login as Admin.
      2. Go to "Site administration >  Language > Language Packs" and make sure that no additional language packs are installed (only English)
      3. Examine the main top navbar on the page
        • confirm there is no language selector menu in the top navbar
      4. Open the user dropdown menu in the top navbar
        • confirm there isn't a "Language" item in the user menu.
      5. Log out.
        • confirm there is no language selector menu anywhere in the top navbar

      Test 2 (Language selector is available when there are multiple installed languages)

      1. Login as Admin.
      2. Go to "Site administration >  Language > Language Packs" and install several additional language packs (make sure to install at least one RTL language pack ex. Hebrew).
      3. Examine the main top navbar on the page.
        • confirm there is no language selector menu in the top navbar
      4. Open the user dropdown menu in the top navbar
        • confirm there is a "Language" item in the user menu.
      5. Click on the Language item in the user menu.
        • confirm that a "Language selector" menu is now displayed within the user menu element.
        • confirm that all available (installed) languages are displayed in the selector.
        • confirm that there is an indicator (check) on the language that is currently active.
      6. Select one of the available languages.
        • confirm that the page is reloaded and the language change applied.
      7. Open again the Language selector from the user menu
        • confirm that the "active" indicator is now pointing on the previously selected language.
      8. Click on the "Back" link (arrow icon) in the Language selector menu
        • confirm that it navigates back to the user menu
      1. Go back to the Language selector again and select the installed RTL language
        • confirm that the language change has been applied.
      2. Open the the user menu and the language selector.
        • confirm that everything looks and works as expected in RTL mode.
      3. Log out.
      4. Examine the main top navbar on the page.
        • confirm that there is a language selector dropdown menu in the top navbar.
      5. Click on the language selector menu in the top navbar.
        • confirm that all available (installed) languages are displayed in the language dropdown menu.
        • confirm that there is an indicator (check) on the language that is currently active.
      6. Select one of the available languages.
        • confirm that the page is reloaded and the language change applied.

      Test 3 (Language selector is NOT available when a language is "forced" in a course context)

      1. Login as Admin.
      2. Go to the Course.
      3. Go to Course settings.
      4. In the 'Appearance' section, select a certain language from the list in 'Force language' and save changes.
      5. While in the course, open the user menu in the top navbar.
        • confirm that the Language selector is NOT present in the user menu.
      6. Navigate through the course and it's activities.
        • each time confirm that the Language selector is NOT present in the user menu.
      7. Navigate somewhere outside of the Course (ex. Dashboard or Site home)
      8. Open the user menu in the top navbar.
        • confirm that the Language selector is present in the user menu.
      9. Go back to the Course
      10. Go to Course settings.
      11. In the 'Appearance' section, set 'Force language' to 'Do not force' and save changes.
      12. While still in the course, open the user menu in the top navbar.
        • confirm that the Language selector is present in the user menu.
      Show
      Setup Login as Admin. Create a Course. Create several activities in the Course. Test 1 (Language selector is NOT available when there aren't multiple installed languages) Login as Admin. Go to "Site administration >  Language > Language Packs" and make sure that no additional language packs are installed (only English) Examine the main top navbar on the page confirm there is no language selector menu in the top navbar Open the user dropdown menu in the top navbar confirm there isn't a "Language" item in the user menu. Log out. confirm there is no language selector menu anywhere in the top navbar Test 2 (Language selector is available when there are multiple installed languages) Login as Admin. Go to "Site administration >  Language > Language Packs" and install several additional language packs (make sure to install at least one RTL language pack ex. Hebrew). Examine the main top navbar on the page. confirm there is no language selector menu in the top navbar Open the user dropdown menu in the top navbar confirm there is a "Language" item in the user menu. Click on the Language item in the user menu. confirm that a "Language selector" menu is now displayed within the user menu element. confirm that all available (installed) languages are displayed in the selector. confirm that there is an indicator (check) on the language that is currently active. Select one of the available languages. confirm that the page is reloaded and the language change applied. Open again the Language selector from the user menu confirm that the "active" indicator is now pointing on the previously selected language. Click on the "Back" link (arrow icon) in the Language selector menu confirm that it navigates back to the user menu Go back to the Language selector again and select the installed RTL language confirm that the language change has been applied. Open the the user menu and the language selector. confirm that everything looks and works as expected in RTL mode. Log out. Examine the main top navbar on the page. confirm that there is a language selector dropdown menu in the top navbar. Click on the language selector menu in the top navbar. confirm that all available (installed) languages are displayed in the language dropdown menu. confirm that there is an indicator (check) on the language that is currently active. Select one of the available languages. confirm that the page is reloaded and the language change applied. Test 3 (Language selector is NOT available when a language is "forced" in a course context) Login as Admin. Go to the Course. Go to Course settings. In the 'Appearance' section, select a certain language from the list in 'Force language' and save changes. While in the course, open the user menu in the top navbar. confirm that the Language selector is NOT present in the user menu. Navigate through the course and it's activities. each time confirm that the Language selector is NOT present in the user menu. Navigate somewhere outside of the Course (ex. Dashboard or Site home) Open the user menu in the top navbar. confirm that the Language selector is present in the user menu. Go back to the Course Go to Course settings. In the 'Appearance' section, set 'Force language' to 'Do not force' and save changes. While still in the course, open the user menu in the top navbar. confirm that the Language selector is present in the user menu.
    • 5
    • Navigation push ahead, Navigation push 2

      The language menu is to be in the top navigation bar when the user is not logged in. Once the user is logged in the language menu is to move into the user menu.
      At the moment the user menu does not allow for a drop down to be included, so this must be updated.

        1. langmenu.png
          langmenu.png
          11 kB
        2. usermenu-1.png
          usermenu-1.png
          23 kB
        3. usermenu-2.png
          usermenu-2.png
          18 kB

            Geshoski Mihail Geshoski
            abgreeve Adrian Greeve
            Peter Dias Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 3 days, 15 minutes
                1w 3d 15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.