Translations:Manual:$wgParserConf/12/en

The variable can only be changed during LocalSettings.php, in particular, it can't be changed during an extension setup function.