Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28729 META: Assess and centralise multilang issues affecting Moodle 2.1+
  3. MDL-28636

"Multilang" didn't works in the Navigation-menu and Combi List

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: Filters
    • Labels:
    • Environment:
      Standard MySQL and PHP Apache Server.
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      I would like to translate the Name of courses and categories in 2 languages: english and german.
      So I create a course/category and while creating the name of the course with the:
      <span class="multilang" lang="en">Category English</span> <span class="multilang" lang="de">Kategory Deutsch</span> OR
      <span class="multilang" lang="en">Course English</span> <span class="multilang" lang="de">Kurs Deutsch</span>
      Tags.
      After That you can see the right translation in the "Llist of Courses" and "List of Categories" but noch in the "combi list" and no in the navigation-menu..

      Please see the picture I aded.
      Thank you
      Best Regards

      Show
      I would like to translate the Name of courses and categories in 2 languages: english and german. So I create a course/category and while creating the name of the course with the: <span class="multilang" lang="en">Category English</span> <span class="multilang" lang="de">Kategory Deutsch</span> OR <span class="multilang" lang="en">Course English</span> <span class="multilang" lang="de">Kurs Deutsch</span> Tags. After That you can see the right translation in the "Llist of Courses" and "List of Categories" but noch in the "combi list" and no in the navigation-menu.. Please see the picture I aded. Thank you Best Regards
    • Workaround:
      Hide

      I think the Filter should be added while processing the "Navigation-menu" and the "combi list".

      Manually change the size of the shortname field in the DB.

      Show
      I think the Filter should be added while processing the "Navigation-menu" and the "combi list". Manually change the size of the shortname field in the DB.
    • Affected Branches:
      MOODLE_21_STABLE

      Description

      1. Moodle is capable to translate the List of Courses and the List of Categories by:
      <span class="multilang" lang="en">Category English</span>

      But not in the "Combi List" and not in the "Navigation" Menu.
      So that mean the language filter didn't work in this places.

      2. The next very small Problem is DataBase, the fields are reduced to "varcha" 100 or 254. >> Please see the second Picture!!
      But just one English span is 58 signs long:
      <span class="multilang" lang="en">Category English</span>
      So its not even possible to ad another language in to the "shortname" Fields!
      Because 58x2 is 116, 16 more than aloud. But you can change it manually, to varcha 580 or something.

        Attachments

        1. brokennav.gif
          brokennav.gif
          8 kB
        2. Langs_DB.jpg
          Langs_DB.jpg
          88 kB
        3. Langs2.jpg
          Langs2.jpg
          177 kB
        4. without translation.png
          without translation.png
          42 kB

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              fraktal8 Max E
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: