How to change the language in MediaWiki

Changing the language of your MediaWiki is quite easy. All you have to do is edit one line in the LocalSettings.php file. You can edit the file using File Manager in cPanel, or via FTP.

The line that you have to modify is:

$wgLanguageCode = "en";

For example, if you wish to switch the language of your wiki to Spanish, you should change the above line to:

$wgLanguageCode = "es";

You need help with an application? SiteGround is specialized in hosting and supporting more than 200 scripts. Sign up for our web hosting services and let us help you with your application, 24/7!