Template:Help:Heading and title translation
Article titles and headings within articles are treated like localized messages.
- Please avoid using forward slashes in titles. For example: Use Day and night cycle rather than Day/night cycle.
Heading translation
Each heading within an article is checked to see if a message exists in the MediaWiki:
namespace corresponding to the current language code. If the translation exists it will be automatically substituted for the heading text.
Example
Dienstleistungen
This translates the == Services ==
heading in the Fréttinga article (and all other articles where that heading text appears) into German.
This method works for all heading levels.
Article title translation
Each article's title is checked to see if a message exists in the MediaWiki:
namespace corresponding to the current language code. If the translation exists it will be automatically substituted for the title text.
Note: This is only applicable to articles. This is not required for Templates, as they never display their page titles.
Example
MediaWiki:Fréttinga services/de
Fréttinga dienstleistungen
This translates the page title of Fréttinga dienstleistungen for German readers without requiring any redirects.
Link translation
Each link is checked to see if a message exists in the MediaWiki:
namespace corresponding to the current language code. If the translation exists it will be automatically substituted for the link text.
Example
== See also == * [[Seasons]] * [[Exploration]] * [[Underrealm]] * [[Underwater]]
If MediaWiki:Exploration/de
is not defined but all other translations are, then the output of the above in the German language will be as follows: