On Tuesday 30 January 2007 21:53:52 Rajesh Olafson wrote:
OK - so I got the Disclaimers label fixed. Thank you.
But how do I change another footer string: "Content is available under ..."
I see that the languages/Messages*.php contains this string. However, when I change it for English [Messages.php] I see no change in the UI.
Also, when I change my language preference to say French, then this string remains the same, while other footer/nav strings appear translated.... ?
Help would be appreciated.
You need to add the following code to you LocalSettings.php:
$wgForceUIMsgAsContentMsg = array('copyright');
After that the "Content is available under..." text which is defined by MediaWiki:Copyright is localised. (for example MediaWiki:Copyright/de now would be respected when having German interface language in a non-german wiki).
By the way the "$1 thing" in the message string can be influenced for any language with these variables in LocalSettings.php:
$wgRightsPage = "THE_PAGE_THAT_DEFINES_YOUR_COPRIGHT_POLICY"; $wgRightsText = "THE_DISPLAYED_LINK_TEXT";
Cheers, Arnomane