Moodle Plugins directory: Restriction by language: Versions: v3.9.9 | Moodle.org
Restriction by language
Restriction by language v3.9.9
Availability language
Restrict module and section access based on user language.
Idea
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.
This plugin only pops up when 1. There is more than 1 language installed in the system (obvious, we need a least 2 languages installed to restrict) 2. When the language of the course is NOT forced. (Course - Edit settings - Appearance - Force language). When a course has a forced language, everything will be shown in this language and we are certain no user will ever arrive with another language enabled. On that moment there is no need to show the restriction, as it would only create the illusion that people could be restricted.
Conditional availability conditions
Check the global documentation about conditional availability conditions: https://docs.moodle.org/en/Conditional_activities_settings
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.
Requirements
This plugin requires Moodle 3.9+
Installation
Install the plugin like any other plugin to folder /availability/condition/language See http://docs.moodle.org/en/Installing_plugins for details on installing Moodle plugins
Initial Configuration
This plugin does not need configuration after installation.
Theme support
This plugin is developed and tested on Moodle Core's Boost theme and Boost child themes, including Moodle Core's Classic theme.
Plugin repositories
This plugin will be published and regularly updated on Github: https://github.com/ewallah/moodle-availability_language
Bug and problem reports / Support requests
This plugin is carefully developed and thoroughly tested, but bugs and problems can always appear. Please report bugs and problems on Github: https://github.com/ewallah/moodle-availability_language/issues We will do our best to solve your problems, but please note that due to limited resources we can't always provide per-case support.
Feature proposals
Please issue feature proposals on Github: https://github.com/ewallah/moodle-availability_language/issues Please create pull requests on Github: https://github.com/ewallah/moodle-availability_language/pulls We are always interested to read about your feature proposals or even get a pull request from you, but please accept that we can handle your issues only as feature proposals and not as feature requests.
Moodle release support
This plugin is maintained for the latest major releases of Moodle.
Status
Copyright
eWallah.net
Version information
- Version build number
- 2022031000
- Version release name
- v3.9.9
- Maturity
- Versión estable
- MD5 Sum
- a70fa07abc506222db964ca610d1f95e
- Supported software
- Moodle 3.9, Moodle 3.10, Moodle 3.11
- Latest release for Moodle 3.9
- Latest release for Moodle 3.10
- The more recent release v4.0.2 (2023101400) exists for Moodle 3.11
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
- VCS tag
- v3.9.9