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

Support custom strings (via Moodle Mobile settings)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In web, login as admin in a site with MDL-57408 applied.
      2. Go to Side administration > Mobile app > Mobile features and add some custom strings in "Custom language strings". Use at least 2 languages. For example:

        mm.sidemenu.mycourses|My Subjects|en
        mm.sidemenu.mycourses|Mis Materias|es
        mma.frontpage.sitehome|Home|en
        mma.frontpage.sitehome|Inicio|es
        

      3. In the app, login in that site and check that the custom strings are used. For example, if you used the example above you should see them in side menu.
      4. Change the language of the app and check that the language of the custom string changes too.
      5. Logout and login in a site without custom strings (either because they aren't supported or because the setting is empty). Check that the strings shown are the default ones again.
      6. Go to Side administration > Mobile app > Mobile features and add some INCORRECT custom strings in "Custom language strings". For example:

        mm.sidemenu.mycourses|My Subjects|zy
        mm.sidemenu.mycourses|Mis Materias
        mma.frontpage.sitehomenotvalid|Home|en
        mma.frontpage.sitehome
        something not sense here
        mma.frontpage.sitehome|Inicio|es
        

      7. Check that only the correct language strings work (in this case the last one)
      Show
      In web, login as admin in a site with MDL-57408 applied. Go to Side administration > Mobile app > Mobile features and add some custom strings in " Custom language strings ". Use at least 2 languages. For example: mm.sidemenu.mycourses|My Subjects|en mm.sidemenu.mycourses|Mis Materias|es mma.frontpage.sitehome|Home|en mma.frontpage.sitehome|Inicio|es In the app, login in that site and check that the custom strings are used. For example, if you used the example above you should see them in side menu. Change the language of the app and check that the language of the custom string changes too. Logout and login in a site without custom strings (either because they aren't supported or because the setting is empty). Check that the strings shown are the default ones again. Go to Side administration > Mobile app > Mobile features and add some INCORRECT custom strings in " Custom language strings ". For example: mm.sidemenu.mycourses|My Subjects|zy mm.sidemenu.mycourses|Mis Materias mma.frontpage.sitehomenotvalid|Home|en mma.frontpage.sitehome something not sense here mma.frontpage.sitehome|Inicio|es Check that only the correct language strings work (in this case the last one)
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      If the admin has customized some strings, we should support them.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Berta Maroto
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Feb/17