Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3581

Multilang not working in profile fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: Users
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      When using mutlilang content in profile field names the content is not translated and simply displays the plain HTML output in the Moodle and Moodle Workplace apps.

      Steps to replicate:

      1. Create a new profile field
      2. Enter multilang content for the profile field "Name" e.g.

        <span class="multilang" lang="en">Employee Level</span> <span class="multilang" lang="et">Töötaja Tase</span>
        

      3. Ensure "Multi-Language Content" filter is enabled for content and headings

      Expected outcome:
      The profile field is shown in the user's selected language in both the web browser and app

      Actual outcome:
      The profile field displays in the correct language in the web browser but displays the plain HTML in the mobile app

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dylankeys Dylan Keys
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: