Topic on Extension talk:MultiLanguageManager

Select Available languages

3
213.188.44.239 (talkcontribs)

Hi there,

I installed the extension on MediaWiki 1.31 which seems to work fine so far. I just have a problem setting up the available languages. Setting the $mgAvailableLanguage as documented in the LocalSettings.php didn't help and I also can't find the MultiLanguageManager_setup.php.

Might this be an issue with MediaWiki 1.31, or is it just my ignorance? I'm new to MediaWiki.

Thanks,

David

Sir-Lagg-A-Lot (talkcontribs)

Hi,

I tried it myself and could not set the languages either. It seems, that setting this in LocalSettings.php directly below the registration of the extension is still to early. Putting this into the LocalSettings.php worked for me:

wfLoadExtension( 'MultiLanguageManager' );

$wgExtensionFunctions[] = function() {

$GLOBALS['mgAvailableLanguages'] = array(

   'en',

   'de'

);

};

2A02:8388:E340:3A80:419C:EBE0:E05F:4A5E (talkcontribs)

I always get ⧼No Translations⧽, what am I doing wrong? :-|

Reply to "Select Available languages"