Change MediaWiki interface language

MediaWiki with English interface

MediaWiki is designed to work with almost any language in the World. The Administrator interface can be changed to your native language by editing the LocalSettings.php file. The snapshot to the right shows what the special pages look like in English. Below you will find the steps to change the administrator interface language and a list of available languages and their correlating code.

Steps to change the MediaWiki interface language

  1. Login into your cPanel.
  2. Go to the File Manager. Select your MediaWiki installation directory and click Go.
  3. Code view of language setting MediaWiki

    Find the following code in your LocalSettings.php file.

    $wgLanguageCode = "en";

    Edit the LocalSettings.php with the code editor. Change the code in the “$wgLanguageCode = ‘en’” to a different language bay changing the current language code “en” to the new language. In this example, we will change the language to French “fr“.

    Save the changes.


    Interface with French MediaWiki

    Now when you visit it your MediaWiki, the interface will show in French like the snapshot to the right.

Leave a Reply