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

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

    XMLWordPrintable

Details

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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mjollnir Penny Leach
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: