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

Support custom strings (via Moodle Mobile settings)

    XMLWordPrintable

Details

    • 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)
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • Moodle Mobile 3.2.1

    Description

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

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              jleyva Juan Leyva
              Pau Ferrer Pau Ferrer
              Juan Leyva Juan Leyva
              Berta Maroto Berta Maroto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Feb/17