Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-7236

Some editor_tiny strings missing in AMOS UI for 4.1

XMLWordPrintable

    • Team Hedgehog 2023 Sprint 2.0

      I can't translate the tooltip "Insert/edit link" for the link icon in TinyMCE 6. (see screenshot)


      Edited to add:

      The string tiny:insertedit_link in editor_tiny.php can't be translated in AMOS because strings which end in _link follow a convention:

      stringname_link - an optional string naming a path in Moodle Docs, only if required, calculated just like the link in the footer to go to the right language etc, and shown after the help text in the popup as a link with an icon to "More help...". These strings don't need to be translated, so are hidden in the AMOS UI.

      (from https://docs.moodle.org/dev/String_API#Help_strings )

      However, on investigation, it turned out that many plugins include _link strings which  don't follow this convention and require translating.

      Solution (as discussed and agreed in the comments below):

      1. Unhide _link strings in the AMOS UI so they can be edited
      2. Populate language packs with a copy of the English original for all _link strings, unless such a translation already exists.

      This solution allows for _link strings in TinyMCE, BBB and other plugins to be translated. Also, help links can be edited, allowing for localisation of internal docs.

        1. amos 77976 - tinymce strings missing.png
          amos 77976 - tinymce strings missing.png
          1.63 MB
        2. lang.zip
          361 kB
        3. link_strings.csv
          45 kB
        4. moodle-tiny-cant-translate.png
          moodle-tiny-cant-translate.png
          16 kB
        5. screenshot-1.png
          screenshot-1.png
          117 kB

            mudrd8mz David Mudrák (@mudrd8mz)
            krause Ralf Krause
            Helen Foster Helen Foster
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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