[Mediawiki-l] change interface language
Rob Church
robchur at gmail.com
Thu May 17 19:48:46 UTC 2007
On 17/05/07, Klaus Becker <colonius at free.fr> wrote:
> that's why I put this question: I first installed MW 1.9.3 in german, but the
> final version has to be french. So for image location, I wrote "Bild" and I
> want "Image" instead now. I hoped a script would do this for me, but after
> changing $wgLanguageCode in french, there is always "Bild" and images are not
> found of course. Must I really change every "Bild" in "Image" manually ?
Add the following line to LocalSettings.php:
$wgNamespaceAliases["Bild"] = NS_IMAGE;
You'll need to purge the cache of affected pages, but with a
LocalSettings.php file generated with a modern version of MediaWiki,
this will be done when editing that file.
Rob Church
More information about the MediaWiki-l
mailing list