Table of Contents
- manipulate the loading of the main language files
- loads the English and the configured language's lang.php file
This event is signalled in inc/init.php when the language files are loaded, handlers can use it to manipulate the loaded files and the language array. Note that this event only influences the $lang global. Localized wikitext files or plugin language files are not loaded here but on demand when used.
This event is currently the earliest event available and runs even before DOKUWIKI_STARTED.
$data is the configured language so it's the same value as configuration setting
$data does not influence the configuration setting, so you need to modify
$conf['lang'] yourself if you want that behavior.
- Code related to this event used in any DokuWiki's files, plugins and templates
devel/event/init_lang_load.txt · Last modified: 2018-12-08 15:42 by torpedo