Restriction by language

Availability restriction ::: availability_language
Maintained by RenaatRenaat Debleu
Restrict module and section access based on user language.

Restriction by language 3.2+

Moodle 3.2, 3.3
Released: Thursday, 3 August 2017, 4:01 PM

moodle-availability_language

Restrict module and section access based on user language.

Language filters are great, but sometimes they can make your resources and activities very complex. This availability condition makes it easy to show an English resource only to English users and an activity in French only to French speaking students.

WARNING: The Moodle Mobile app relies on the user profile language and/or course language to show or hide a resource: the language selected in the app does NOT prevail.

Check the global documentation about conditional availability conditions: https://docs.moodle.org/en/Conditional_activities_settings

Installation:

  1. Unpack the zip file into the availability/condition/ directory. A new directory will be created called language.
  2. Go to Site administration > Notifications to complete the plugin installation.

TODO: * Mobile app. * grabthelot functionality

DONE: * Standard hidden for participants * Behat testing * Unit testing * userid bug

travis

Version information

Version build number
2017080300
Version release name
3.2+
Can be updated from
1.0, 1.0, 1.0, 1.0, 1.0, 1.0 (2014091200), 2.7 (2014092000), 3.1+, 3.2, 3.1 (2017050600), 2.7 (2017050600), 3.2+
Can be updated to
3.3+, 3.3+ (2018030400), 3.4+, 3.4+, 3.4+ (2018090300), 3.5+ (2019022800), 3.5+ (2019051200), 3.5+ (2019100200), 3.7+ (2020050801), 3.7+ (2020062600), 3.8+ (2020102300), 3.8+ (2020112700), 3.9+ (2021060600)
Maturity
Stable version
MD5 Sum
9db07766b106a054aed8c16b1d35f319
Supported software
PHP 5.6, PHP 7.0, Moodle 3.2, Moodle 3.3, PHP 7.1
  • Latest release for Moodle 3.2
  • The more recent release 3.3+ (2018030400) exists for Moodle 3.3

Version control information

Version control system (VCS)
GIT
VCS repository URL