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

Implement multilang filter in TinyMCE

XMLWordPrintable

    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • wip_MDL-25490_HEAD_multilang_filter_tinymce
    • Hide

      1. Install a second language pack in addition to English (International Spanish is a good choice
      2. Enable the multiple language filter (it's easier if you set it 'On', instead of 'Off, but available).
      3. Create a new course.
      4. While editing the course description, select some text and from the language drop down menu select 'en'. Select some other text and from the language drop down menu select 'es'.
      5. Save the changes for the course settings.
      6. Go to the front page and select English language. Check that the course description text that you marked as 'en' appears, while the text that you markes as 'es' doesn't appear.
      6. Now select the Spanish language. Change that the course description text now behaves the other way round ('en' text doesn't appear, 'es' does).
      7. Select the English language again, so the next steps are easier for non-Spanish speaking testers
      8. Edit the course settings. In the course description select all the text and in the language drop down menu click on 'Language' label (i.e., don't select any language, but the menu name itself).
      9. Save the changes and go to the front page again. Now the whole text for the course description should appear both when selecting English and Spanish as the user language.

      Show
      1. Install a second language pack in addition to English (International Spanish is a good choice 2. Enable the multiple language filter (it's easier if you set it 'On', instead of 'Off, but available). 3. Create a new course. 4. While editing the course description, select some text and from the language drop down menu select 'en'. Select some other text and from the language drop down menu select 'es'. 5. Save the changes for the course settings. 6. Go to the front page and select English language. Check that the course description text that you marked as 'en' appears, while the text that you markes as 'es' doesn't appear. 6. Now select the Spanish language. Change that the course description text now behaves the other way round ('en' text doesn't appear, 'es' does). 7. Select the English language again, so the next steps are easier for non-Spanish speaking testers 8. Edit the course settings. In the course description select all the text and in the language drop down menu click on 'Language' label (i.e., don't select any language, but the menu name itself). 9. Save the changes and go to the front page again. Now the whole text for the course description should appear both when selecting English and Spanish as the user language.

      In HTML Area editor there is a combo that applies multilang tags to the selected text. It would be great to have the same functionality in TinyMCE

            iarenaza Iñaki Arenaza
            jm.andonegi José Miguel Andonegi Martínez (Inactive)
            Votes:
            15 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

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