Open main menu

Difference between revisions of "Instructions to Wiki Editors"

m
→‎Translation: Update the section and add redirect idea
(→‎General Rules: Add instructions to translate the wiki.)
m (→‎Translation: Update the section and add redirect idea)
Line 16: Line 16:


== Translation ==
== Translation ==
To translate a page into a different language, create a new page by adding the ''/lang'' postfix, where lang is the language code for the translation. For example, the translation of [[User Manual/Introduction]] in German is in [[User Manual/Introduction/de]].
* To translate a page into a different language, create a new page by adding the ''/lang'' postfix, where lang is the language code for the translation. For example, the translation of [[User Manual/Introduction]] in German is in [[User Manual/Introduction/de]].


At the bottom of the page, add the ''<nowiki>{{Languages}}</nowiki>'' template (see [[Template:Languages]]). If it is the first translation for that page, you will also need to add the template to the english page.
* At the top of the page, add the ''<nowiki>{{Languages}}</nowiki>'' template (see [[Template:Languages]]). If it is the first translation for that page, you will also need to add the template to the english page.


'''Note:''' There seems to be a small bug in the template for the moment with the detection of the page. If the bar does not have the correct list of languages, you can specify the page explicitly in the template:
'''Note:''' There seems to be a small bug in the template for the moment with the detection of the page. If the bar does not have the correct list of languages, you can specify the page explicitly in the template:
  <nowiki>{{Languages|User Manual/Introduction}}</nowiki>
  <nowiki>{{Languages|User Manual/Introduction}}</nowiki>
The page name given to the template should always be the english page.
The page name given to the template should always be the english page.
* If your translated page points to a page that is not yet translated, you might want to link to the not yet existing translated page, create that page and redirect to the english page. That way you will not have to change all the links when you decide to translate the page. For example, if you want to link to [[User Manual/ScummVM Interface]] from a German page, but [[User Manual/ScummVM Interface]] has not yet been translated to German, you might want to point to [[User Manual/ScummVM Interface/de]] anyway and create that page with the following content:
<nowiki>#REDIRECT [[User Manual/ScummVM Interface]]</nowiki>


== Trusted User Group ==
== Trusted User Group ==
TrustedUser
2,147

edits