I installed mediawiki with the web-interface. Now I want to change the wiki's language subsequently from german to english. Therefore, I changed the line
$wgLanguageCode = "de";
in LocalSettings.php to
$wgLanguageCode = "en";
no effect.
As far as I understand, the persistence of $wgLang is the troublemaker. I cannot restart the webserver on the target host, for I don't have the rights...
any ideas?
thanks in advance,
Alex Barth
On Apr 14, 2004, at 03:20, Alex Barth wrote:
I installed mediawiki with the web-interface. Now I want to change the wiki's language subsequently from german to english. Therefore, I changed the line
$wgLanguageCode = "de";
in LocalSettings.php to
$wgLanguageCode = "en";
At install time, the interface messages are imported to the database so you can customize them. (See http://meta.wikipedia.org/wiki/MediaWiki_namespace ) If you then change the language, you can do one of two things:
1) Set "$wgUseDatabaseMessages = false;" to disable the support for the MediaWiki: namespace. This means you'll have to customize things by hand in Language*.php, will lose your changes at the next upgrade if you don't carefully merge, and can't use template messages for other purposes.
2) Run maintenance/rebuildMessages.php to re-import the messages. You'll have to temporarily take out the maintenance script warning in your LocalSettings.php to run it, probably. It needs to be run from the command line. (This'll be cleaner in 1.3.x...)
-- brion vibber (brion @ pobox.com)
brion,
thanks for your quick reply.
- Run maintenance/rebuildMessages.php to re-import the messages.
You'll have to temporarily take out the maintenance script warning in your LocalSettings.php to run it, probably. It needs to be run from the command line. (This'll be cleaner in 1.3.x...)
yep, the problem is, that i installed with in-place install, so the script says:
Can't use command-line utils with in-place install yet, sorry.
is there a workaround?
alex b
wikitech-l@lists.wikimedia.org