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

Allow overriding translations from plugins

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.7.1
    • Fix Version/s: None
    • Component/s: Language
    • Labels:
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      It would be great if plugin devs could use plugins to override translations of other plugins and the Moodle core.

      Install a plugin -> Moodle uses the customized string
      Remove a plugin -> Moodle immediately uses the original string

      Example use case:
      1. By default the login form says "Username"
      2. Admin installs a plugin called "Login using phone number"
      3. The form now says "Username / Phone"

      This would make it much easier to install/remove plugins because the translations wouldn't have to be changed manually with the Language customization feature.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            juho.jaakkola Juho Jaakkola
            Participants:
            Component watchers:
            David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: