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

Handle the languages of the oauth2 button in the login page

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Authentication

      We are using the auth2 service and we need to handle different languages for the text of the button in the login page.

      With the current implementation it is only possible to give a unique name in the configuration of the oauth2 (Name displayed on the login page).

      For this reason, we'd like to suggest an improvement in order to have the possibility to manage the language of the button text.

      We based our modifications with this documentation Multi-language content filter like suggested in the comments of this task.

      We changed the Name displayed on the login page to a textarea in order to have the possibility to have multiple line. Then we provide the language(s) with the span like describe in the documentation of the filter.

       

      This is an example of what it looks like:

      In English:

      In French:

      Note: In our solution we didn't change the type of the column from varchar(255) to text. But maybe if this solution is adopted we'll need to change it.

            massicos Steve Massicotte
            Gurvan Gurvan Giboire
            Paul Holden Paul Holden
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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