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

Course Category name length too short in multilang environement

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE

      Description

      The space allowed is not enough if your moodle site is designed for several languages.

      The category name field is only size="30"
      <input type="text" size="30" alt="Add new category" name="addcategory" />

      In the table mdl_course_categories, the filed name is only varchar(255). (MYSQL db)

      I've fixed on my own installation with direct editing and modifing the db field type to varchar (350) Enough for 5 languages.

      <span lang="en" class="multilang">Language Courses</span><span lang="it" class="multilang">Corsi di lingua</span><span lang="fr" class="multilang">Cours de langue</span><span lang="es" class="multilang">Cursos de idiomas</span><span lang="de" class="multilang">Sprachkurse</span>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                6 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: