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

Allow lazy loading of JavaScript language strings

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.7
    • JavaScript

      There are times where we load a bunch of language strings, but they might not be used, especially when we load the plugin but it has not been used by the user.

      Loading them causes unnecessary bytes to be transferred, and surcharges the M.str object. A good example of this is the plugin charmap for Atto which loads more than 150 strings, though they are only used when the plugin is used.

      A mechanism where a plugin could itself load its missing strings (in bulk of course) would be handy.

            damyon Damyon Wiese
            fred Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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