Difference between revisions of "Editor manual"

Jump to navigation Jump to search
m
→‎Timeline - Year...: Changed example to German, as there is already a translated Timeline
m (→‎Timeline - Year...: Changed example to German, as there is already a translated Timeline)
(6 intermediate revisions by one other user not shown)
Line 494: Line 494:
Visit [[Special:LanguageStats]] and choose your language code. Language code is case sensitive.
Visit [[Special:LanguageStats]] and choose your language code. Language code is case sensitive.


=== How translate links ===
=== How translate: ===
There are two kinds of links, links that leads to other pages or year templates.
 
You can find both while translating a page, as there are sometimes notes about other expansions and with that we link to that certain page, where the information stands.
 
==== Pages ====
 
So this is a link: [[Castles in Germany (1st edition)]]. This link is linking currently to the English page of "Castles in Germany (1st edition)", we want to link to the language we are translating in; So in this example to Polish.
 
While translating the links will look like this:
<pre>
<pre>
[[Castles in Germany (1st edition)]]
[[Castles in Germany (1st edition)]] OR this [[Castles in Germany (1st edition)|Castles in Germany]]
</pre> {{ColorRed|OR}} <pre> [[Castles in Germany (1st edition)|Castles in Germany]]
</pre>
</pre>


can be translated using label (polish example):
Now it needs to be changed into a link linking to the Polish version, so I put "/pl" behind the first part and change the name in the second part to the Polish name of the expansion or page.
<pre>
<pre>
[[Castles in Germany (1st edition)/pl|Niemieckie Zamki]]
[[Castles in Germany (1st edition)/pl|Niemieckie Zamki]]
</pre>
</pre>


so the link to the correct page will be preserved.
Now the link will direct to the Polish version: [[Castles in Germany (1st edition)/pl|Niemieckie Zamki]].
 
==== Timeline - Year... ====


=== How to translate footnotes heading ===
A timeline link looks like this: {{Year|2001}}. But we want in this example to have it linked to the German version.
<pre>
{{Year|2001}}
</pre>


In English version you must use following template every time there are footnotes. <pre>{{FootnoteIconPara_en}}</pre>
This needs to be changed into your language, so we add "_de" to the first part (German example).
 
<pre>
{{Year_de|2001}}
</pre>
 
Now the year will link to the German timeline instead of the English one: {{Year_de|2001}}.
 
==== Footnotes headings ====
 
In English version you must use following template every time there are footnotes.  
<pre>{{FootnoteIconPara_en}}</pre>


In translation tool you need to change the name of the template. For example:
In translation tool you need to change the name of the template. For example:
Line 520: Line 544:


If there is no template in your language it need to be created. Please send a message to [[user:Meepledrone|Meepledrone]] so it can be created(through Carcassonne Central).
If there is no template in your language it need to be created. Please send a message to [[user:Meepledrone|Meepledrone]] so it can be created(through Carcassonne Central).
More information about Footnote Headings: [[Editor manual#How to insert footnotes (template)|Editor manual - How to insert footnotes (template)]]
==== Edition-related categories ====
<pre>
[[Category:First Edition]]
</pre>
Are translated to:
<pre>
[[Category:Erste Edition]]
</pre>
More information about Edition-related categories: [[Editor manual#Edition Categories|Editor manual - Edition Categories]]
==== Workflow categories ====
<pre>
[[Category:Completed]]
</pre>
Are translated to:
<pre>
[[Category:Completed|Abgeschlossen]]
</pre>
More information about Workflow categories: [[Editor manual#Workflow Page Categories|Editor manual - Workflow Page Categories]]


=== I am getting error when translating ===
=== I am getting error when translating ===

Navigation menu