i had been having a bug, where my system messages are shown in the wrong language. I have got one simple question: How do i set the system message to always be e.g. english
or german
without adding &uselang=de
to the URL. Is there a way to permanently change it in the local settings?
Asked
Active
Viewed 63 times
0

Veve
- 6,643
- 5
- 39
- 58

Divide by Zero
- 1,343
- 1
- 14
- 37
-
Do you want one system message, all system messages but just for you or all system messages for everybody to be in another language? – Ainali Jan 26 '16 at 07:53
-
I want to change every system message for every user on my wiki. – Divide by Zero Jan 26 '16 at 08:04
1 Answers
2
Yes, you need to change it in your file LocalSettings.php
. For example, if you want to use Brazilian Portugese change it to:
$wgLanguageCode = 'pt-br';
For more info, see the manual: Manual:$wgLanguageCode
-
This is not the solution sadly. My `$wgLanguageCode` is always the correct one. I have tested this. The System messages may be in the wrong language anyway. See my other question: http://stackoverflow.com/questions/34917625/mediawiki-language-bug-still-persists/34954425?noredirect=1#comment57755349_34954425 – Divide by Zero Jan 27 '16 at 08:40
-
1Hm, I guess then that your solution is [reporting the bug](https://phabricator.wikimedia.org) and wait until it get fixed properly. – Ainali Jan 28 '16 at 09:21
-
I am using a custom skin and have added lots of custom elements to my wiki. It is possible, that the error stems from my alterations. Should i still report the bug? – Divide by Zero Jan 28 '16 at 09:52
-
Yes, report it. If it is due to your alterations the bug will be closed as invalid, but if not you have helped the Mediawiki community too. – Ainali Feb 02 '16 at 07:34