Multilingual wiki and SocialEntity:317: Difference between pages

(Difference between pages)
(Created page with "A wiki can be set up to include different language versions of a wiki content. Wiki administrators have to make some decisions regarding how they want to support their wiki us...")
 
No edit summary
 
Line 1: Line 1:
A wiki can be set up to include different language versions of a wiki content. Wiki administrators have to make some decisions regarding how they want to support their wiki users' language in addition to simply providing translated content.
{
 
    "wikipageid": 1687,
The following considerations refer to a single-wiki scenario and don't apply if the language versions are maintained in multiple wikis.
    "namespace": 0,
 
    "titletext": "Multilingual wiki",
== Concepts ==
    "description": "",
To make a wiki multilingual, different aspects have to be considered:
    "parentid": 0,
 
    "id": 317,
# Content language and location of translated pages
    "ownerid": 6,
# Linking translated pages
    "type": "wikipage",
# User language (set in the user's preferences)
    "archived": false,
# Multilingual navigation
    "tags": [
# Multilingual templates
        "Multilingual wiki"
# Content organization (categories, portal pages)
    ],
 
    "resolved": false
The following information gives some suggestions how to  organise a wiki around its multilingual content. It does not consider using the MediaWiki extension Translate which is often installed in multlingual wikis to faciliate a section-by-section translation of wiki pages.
}
 
== Content language and location of translated pages ==
Usually, language versions of a page are maintained as subpages. For this to work well, we need to know the actual content language of the wiki, which will always act as the "parent" of the other language versions. To find out the content language of your wiki installation, you can place the variable <code><nowiki>{{CONTENTLANG}}</nowiki></code> on a wiki page and look at its output, which corresponds to the language's [[wikipedia:List_of_ISO_639-1_codes|ISO 639-1  language code]], a double-digit abbreviation. For an English wiki installation, it would be <code>en</code>.
 
 
'''Subpages:''' The language versions of a page would then live under its English parent page and use its language code as the subpage name: MyPage/de, MyPage/fr and so on. The pages can automatically be associated through a language template that relies on this subpage structure to "detect" the different language versions.
 
 
'''Namespaces:''' This setup assumes that you always have the same main language as a starting point for your translation. If this is not the case, you can also think about using namespaces for your  different language versions. This makes sense when you have content in different languages, but the content in these languages is not necessarily always related. You could create namespaces for your languages as you see fit, e.g. <code>DE:</code> , <code>FR:</code> or <code>IT-de:</code>, <code>IT-fr:</code> and so on. If there are related pages between languages, they can be connected through [[Manual:Extension/BlueSpiceInterWikiLinks|interwikilinks]].
 
== Linking translated pages ==
 
=== Language switcher ===
 
=== Interwikilinks ===

Latest revision as of 14:01, 22 March 2022



To submit feedback about this documentation, visit our community forum.

No categories assignedEdit

Discussions