Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
953 views
in Technique[技术] by (71.8m points)

wiki - How to make a MediaWiki site multilingual

I've installed a MediaWiki site. I think default MediaWiki supports only one language which is configured during installation.

Is there a way in MediaWiki to support two or more languages like wikipedia.org? Available languages for a page should be listed on left side like Wikipedia, and when a user clicks a language, the version of the page in the selected language can be seen.

What is the conventional way to support multilingualism?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

There are two different ways to make a multilingual wiki setup.

  1. You can have a family of wikis each of which supports a different language. This is how the Wikipedias work (en.wikipedia.org, ru.wikipedia.org, es.wikipedia.org, etc). This is probably what you are aiming for. Pay special attention to the section on configuring interwiki links to get the links on the left hand side of the page.

  2. You can create one wiki that supports multiple languages. This is how meta.wikimedia.org works. For that, you want to use the Translate extension.

[Update 01.02.2021] the MediaWiki Language Extension Bundle is the currently encouraged way to realize a multilingual setup, incorporating the Translate extension as well as some other essentials that you'll end up needing anyway.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...