Difference between revisions of "Template:Translations"

From The Battle for Wesnoth Wiki
m (Protected "Template:Translations" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<div class="wikilangbox">
 
<div class="wikilangbox">
<div class="wikilangs-caption" title="Other languages"><i class="fa fa-2x fa-globe" aria-hidden="true"></i><span class="sr-label">Other languages:</span></div>
+
<div class="wikilangs-caption" title="Other languages">[[Template:Translations|<i class="fa fa-2x fa-globe" aria-hidden="true"></i><span class="sr-label">Other languages:</span>]]</div>
 
<div class="wikilangs">
 
<div class="wikilangs">
<ul><li>[[{{#titleparts: {{PAGENAME}} | 1 }}|English]]</li>{{TranslationsHelper|de|Deutsch}}{{TranslationsHelper|es|Español}}{{TranslationsHelper|et|Eesti}}{{TranslationsHelper|fr|Français}}{{TranslationsHelper|hu|Magyar}}{{TranslationsHelper|it|Italiano}}{{TranslationsHelper|ja|日本語}}{{TranslationsHelper|la|Latina}}{{TranslationsHelper|pl|Polski}}{{TranslationsHelper|pt|Português}}{{TranslationsHelper|pt_BR|Português do Brasil}}{{TranslationsHelper|ru|Русский}}{{TranslationsHelper|sv|Svenska}}{{TranslationsHelper|ukr|Українська}}{{TranslationsHelper|vi|TiếngViệt}}{{TranslationsHelper|zh-Hans|简体中文}}</ul>
+
<ul><li>[[{{#titleparts: {{PAGENAME}} | 1 }}|English]]</li>{{TranslationsHelper|cs|Čeština}}{{TranslationsHelper|de|Deutsch}}{{TranslationsHelper|es|Español}}{{TranslationsHelper|et|Eesti}}{{TranslationsHelper|fr|Français}}{{TranslationsHelper|hu|Magyar}}{{TranslationsHelper|it|Italiano}}{{TranslationsHelper|ja|日本語}}{{TranslationsHelper|la|Latina}}{{TranslationsHelper|pl|Polski}}{{TranslationsHelper|pt|Português}}{{TranslationsHelper|pt_BR|Português do Brasil}}{{TranslationsHelper|ru|Русский}}{{TranslationsHelper|sk|Slovenčina}}{{TranslationsHelper|sv|Svenska}}{{TranslationsHelper|ukr|Українська}}{{TranslationsHelper|vi|TiếngViệt}}{{TranslationsHelper|zh-Hans|简体中文}}</ul>
 
</div>
 
</div>
 
</div> <!-- end wikilangbox -->
 
</div> <!-- end wikilangbox -->
 
</includeonly><noinclude>This template is used to provide a translations box in wiki pages, linking to any translations of the current page that have been created.
 
</includeonly><noinclude>This template is used to provide a translations box in wiki pages, linking to any translations of the current page that have been created.
 +
 +
Users should note than unless otherwise stated, all translated versions of pages on this wiki are '''unofficial''' and may not accurately reflect the latest state of the content or subject in question.
  
 
== Usage ==
 
== Usage ==
Line 15: Line 17:
  
 
<div class="wikilangbox">
 
<div class="wikilangbox">
<div class="wikilangs-caption" title="Other languages"><i class="fa fa-2x fa-globe" aria-hidden="true"></i><span class="sr-label">Other languages:</span></div>
+
<div class="wikilangs-caption" title="Other languages">[[Template:Translations|<i class="fa fa-2x fa-globe" aria-hidden="true"></i><span class="sr-label">Other languages:</span>]]</div>
 
<div class="wikilangs"><ul><li>'''English'''</li><li>[[#|Deutsch]]</li><li>[[#|Español]]</li><li>[[#|日本語]]</li></ul></div>
 
<div class="wikilangs"><ul><li>'''English'''</li><li>[[#|Deutsch]]</li><li>[[#|Español]]</li><li>[[#|日本語]]</li></ul></div>
 
</div>
 
</div>

Latest revision as of 16:33, 7 March 2021

This template is used to provide a translations box in wiki pages, linking to any translations of the current page that have been created.

Users should note than unless otherwise stated, all translated versions of pages on this wiki are unofficial and may not accurately reflect the latest state of the content or subject in question.

Usage

{{Translations}}

Produces:

Guidelines

Translating pages in this wiki is a huge undertaking due to the nature of the content we provide. The English version of each page is the only authoritative version and it may change without notice. If you choose to translate a page to your natural language, make sure to follow these simple guidelines:

  1. Coordinate with your language team! There are many translation teams already formed for working on Wesnoth, and they might be able to help you with terms and expressions specific to the game and its prose style. Making your wiki page translation known to them may also motivate them to contribute to it and maintain it in the future.
  2. Add the original page to your watchlist using the eye icon on the toolbar, and check your watchlist every once in a while to make sure you don't miss any updates that may require changes to the translated version.
  3. Create a copy of the original with /LANGCODE as a suffix. Make sure to use the official language codes used by the game so that the template will recognize your page later. If it's going to take you a while to finish your translation, it would be best if you used a different page name (e.g. User:YourNameHere/PageName/LANGCODE for your draft before publishing it under the correct name.
    If in doubt about the language code you should use for your page, ask your translation team, or the folks at the Translation & i18n forum.
  4. Add {{Translations}} at the top of your translated page. If the original did not already have this line, make sure to add it there as well.
This page was last edited on 7 March 2021, at 16:33.