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

remotelangnotavailable lang string wording needs improving

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.3
    • 3.1.2, 3.2
    • Language
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_33_STABLE
    • MDL-56527-master
    • Hide
      1. Simulate a situation where your site can't access the download server to fetch lang pack. This can be done by putting your machine with the test site offline, or setting curlsecurityallowedport so that it does not allow fetching from port 443 etc.
      2. Go to Site administration > Language > Language packs
      3. Check that the message "Unable to connect to the download server. It is not possible to install or update the language pakcs..." provides a link that takes you to the actual download page.
      Show
      Simulate a situation where your site can't access the download server to fetch lang pack. This can be done by putting your machine with the test site offline, or setting curlsecurityallowedport so that it does not allow fetching from port 443 etc. Go to Site administration > Language > Language packs Check that the message "Unable to connect to the download server. It is not possible to install or update the language pakcs..." provides a link that takes you to the actual download page.

    Description

      The string remotelangnotavailable in tool_langimport.php points to a page that redirects to a location other than what you would expect:

      "Because Moodle cannot connect to download.moodle.org, it is not possible for language packs to be installed automatically. Please download the appropriate ZIP file(s) from <a href="https://download.moodle.org/langpack/">download.moodle.org/langpack</a>, copy them to your {$a} directory and unzip them manually."

      The link https://download.moodle.org/langpack redirects to https://docs.moodle.org/31/en/Language_packs, from where you can not download any langpacks. I have added a sub header (h3) to the documentation and modified the content a bit to make it easier to find the download link there, but I think it would be best also to change the text in the lang string remotelangnotavailable. It could be something like

      "Because Moodle cannot connect to download.moodle.org, it is not possible for language packs to be installed automatically. Please download the appropriate ZIP file(s). See <a href="https://download.moodle.org/langpack/">Language packs and manual download</a> in Moodle's documentation, for at link to the download page for your Moodle version."

      Attachments

        Issue Links

          Activity

            People

              mudrd8mz David Mudrák (@mudrd8mz)
              benteo Bente Olsen
              Ankit Agarwal Ankit Agarwal
              David Monllaó David Monllaó
              cameron1729 cameron1729
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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