Moodle plugins directory: String override
General plugins (Local) ::: local_string_override
Maintained by Juho Jaakkola, Arto Nieminen
Makes it possible for plugins to override existing translations regardless if they're bundled with Moodle or they're originated from a community plugin.
Current versions available: 1
Moodle plugin that allows plugins to override existing translations.
Every now and then plugins need to change the way how Moodle behaves. Changes in the behavior may however cause the existing translations to become inconsistent with the new behavior. This plugin makes it possible for plugins to override the existing translations regardless if they're bundled with Moodle or they're originated from a community plugin.
- Place the plugin source code to
Enable the string manager in
$CFG->customstringmanager = 'local_string_override_manager';
How to use it
- Find the identifier of the string that you want to override
- Find out the file where the translation is located
- Create the file
Add the string identifier to the file using the standard translation file syntax
$string['auth_changepasswordhelp_expl'] = 'Your custom translation here';
Juho Jaakkola (Lead maintainer)
Please login to view contributors details and/or to contact them
Please login to post comments
Thanks Juho for following up on our discussion at https://tracker.moodle.org/browse/MDL-46582 and for sharing this plugin with the community. I am happy to approve it now. You are cleared to land, welcome to the Plugins directory!
Can you help me?
Thank you very much.