Home
/
Other Applications
/
How to change the language in MediaWiki?

How to change the language in MediaWiki?

To change the language of your MediaWiki, edit one line in the LocalSettings.php file.

The line that you have to modify is:

$wgLanguageCode = “en“;

For example, to switch the language of your wiki to Spanish, change the above line to:

$wgLanguageCode = “es“;

Share This Article