FxParlant Wrote: ...
Does anybody knows if there is a simpler way of doing this. I 've heard a lot of interwiki language, is it applied to change the interface from visitor to visitor?
To force the interface language temporarily, for one page, you can use uselang=fr in the URL. To use an auto-detected language for anonymous users, you want to set the default language for anonyoumouse users depending on their browser's Accept-Language header. See bug 3665 http://bugzilla.wikimedia.org/show_bug.cgi?id=3665.
HTH -- Daniel
Hi Daniel,
This patch seems very interesting but I didn't any "$wgDetectLanguage" in my 1.5 mediawiki. I suppose I have to set it up myself using the attachment mentioned in the bug report: I have never used this type of document and don't really know what to do. Are the line beginning with a "+" to add to my existing files or on the contrary, are they to be commented out.
Another thing, as you seem to know a lot about the inside of the language files in mediawiki. I've seen somewhere an instruction "loadfromdatabase" or something, that I should set to false in localsetting.php to easily enable the changing of the interface language. Do you know what that could be ?
Thanks for your help
François
Daniel Kinzler wrote:
FxParlant Wrote: ...
Does anybody knows if there is a simpler way of doing this. I 've heard a lot of interwiki language, is it applied to change the interface from visitor to visitor?
To force the interface language temporarily, for one page, you can use uselang=fr in the URL. To use an auto-detected language for anonymous users, you want to set the default language for anonyoumouse users depending on their browser's Accept-Language header. See bug 3665 http://bugzilla.wikimedia.org/show_bug.cgi?id=3665.
HTH -- Daniel
mediawiki-l@lists.wikimedia.org