Difference between revisions of "Help:Localization"

From Space Engineers Wiki
Jump to: navigation, search
(localization help page created)
 
m (Added the 'Display Page Name'header)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Creating your translated page ==
+
==Creating your translated page==
 
To create a new page for your language visit the corresponding page in English, edit your address bar to include the language code
 
To create a new page for your language visit the corresponding page in English, edit your address bar to include the language code
 
Here's one Example - Visit the [[Example]] page then edit the top url from
 
Here's one Example - Visit the [[Example]] page then edit the top url from
Line 5: Line 5:
 
Add '''/de''' to create the german page
 
Add '''/de''' to create the german page
 
<pre>http://www.spaceengineerswiki.com/index.php?title=Example/de</pre>
 
<pre>http://www.spaceengineerswiki.com/index.php?title=Example/de</pre>
<nowiki>http://www.spaceengineerswiki.com/index.php?</nowiki>title=Example'''/de''' to create the german page.  You can then create a redirect page if one does not exist that will redirect the page title to the properly located page.
+
 
 +
===Redirects===
 +
You can then create a redirect page if one does not exist that will redirect the page title to the properly located page.
 +
Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.
  
 
Another example - If no page for Creative Mode was available in German you could create the page [[Creative Mode/de]] then redirect the page [[Kreativmodus]] to Creative Mode/de. By using the <nowiki>#REDIRECT [[Creative Mode/de]]</nowiki> syntax. For redirects to work, nothing else is allowed on the page. The page must be completely empty except for that redirect code to the translated page.
 
Another example - If no page for Creative Mode was available in German you could create the page [[Creative Mode/de]] then redirect the page [[Kreativmodus]] to Creative Mode/de. By using the <nowiki>#REDIRECT [[Creative Mode/de]]</nowiki> syntax. For redirects to work, nothing else is allowed on the page. The page must be completely empty except for that redirect code to the translated page.
  
:*Note: If the link for the translated page does not appear on the right for the English page you can force the page to refresh by adding ?action=purge to the url. For example, if you create [[Example/de]] you can go to [[Example]] and paste ?action=purge, so your url would look like -
+
===Manual Purge===
 +
If the link for the translated page does not appear on the Sidebar for the English page you can force the page to refresh by adding '''?action=purge''' to the url. For example, if you create [[Example/de]] you can go to [[Example]] and paste ?action=purge, so your url would look like -
 
<pre>http://www.spaceengineerswiki.com/index.php?title=Example?action=purge</pre>
 
<pre>http://www.spaceengineerswiki.com/index.php?title=Example?action=purge</pre>
 
This will reset the automatic language links for that page.
 
This will reset the automatic language links for that page.
  
:*To replace the page display name, you can place this code in your translated page to force-change the name of the page. Replace '''pagename''' with the translated page name.
+
===Page Display Name===
 +
To replace the page display name, you can place this code in your translated page to force-change the name of the page. Replace '''pagename''' with the translated page name.
 
<pre>&#123;&#123;DISPLAYTITLE:''pagename''&#125;&#125;</pre>
 
<pre>&#123;&#123;DISPLAYTITLE:''pagename''&#125;&#125;</pre>
  
==== Supported languages ====
+
===Supported languages===
 
This wiki currently supports
 
This wiki currently supports
 
*English
 
*English
Line 25: Line 30:
 
*Czech (/cs)
 
*Czech (/cs)
 
*Spanish (/es)
 
*Spanish (/es)
 +
 +
[[Category:Help]]

Latest revision as of 23:14, 17 September 2021

Creating your translated page

To create a new page for your language visit the corresponding page in English, edit your address bar to include the language code Here's one Example - Visit the Example page then edit the top url from

http://www.spaceengineerswiki.com/index.php?title=Example

Add /de to create the german page

http://www.spaceengineerswiki.com/index.php?title=Example/de

Redirects

You can then create a redirect page if one does not exist that will redirect the page title to the properly located page. Redirects are used to forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.

Another example - If no page for Creative Mode was available in German you could create the page Creative Mode/de then redirect the page Kreativmodus to Creative Mode/de. By using the #REDIRECT [[Creative Mode/de]] syntax. For redirects to work, nothing else is allowed on the page. The page must be completely empty except for that redirect code to the translated page.

Manual Purge

If the link for the translated page does not appear on the Sidebar for the English page you can force the page to refresh by adding ?action=purge to the url. For example, if you create Example/de you can go to Example and paste ?action=purge, so your url would look like -

http://www.spaceengineerswiki.com/index.php?title=Example?action=purge

This will reset the automatic language links for that page.

Page Display Name

To replace the page display name, you can place this code in your translated page to force-change the name of the page. Replace pagename with the translated page name.

{{DISPLAYTITLE:''pagename''}}

Supported languages

This wiki currently supports

  • English
  • Polish (/pl)
  • French (/fr)
  • Russian (/ru)
  • German(/de)
  • Czech (/cs)
  • Spanish (/es)