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

easier ability to define multi lang strings in fields that aren't richtext

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 2.0
    • Filters, Forms Library, Language
    • None
    • MOODLE_20_STABLE

      Someone I work with at Liip wrote this script that does the following :

      • Looks for all input fields in a form and rewrites them to be larger, with language links at the bottom, when you click on each one, you can edit the string for that language
      • There's also a 'src' link that gives the source of the multi lang tags.

      At the moment, it's a matter of pulling in the js source in header.html, and then the following in footer.html:
      InputTransform.setLanguage('<?php echo current_language(); ?>'); InputTransform.init();

      I think this would be really awesome to have in 2.0, with an option to turn it on, or off, of course, and maybe configure which languages it lets you edit.

      I would advocate it being added to mforms (or whatever replaces them in 2.0)

            Unassigned Unassigned
            mjollnir Penny Leach (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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