Template:Translation

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
(Added Japanese)
 
(47 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
<noinclude>{{Other_languages
 
<noinclude>{{Other_languages
|en=:Template:Translation
+
|en=Template:Translation
|ca=:Template:Traducció
+
|ca=Template:Traducció
|cs=
+
|cs=Template:Překlad
|de=:Template:Übersetzung
+
|de=Template:Übersetzung
 
|el=
 
|el=
|es=:Template:Traducción
+
|es=Template:Traducción
 
|fi=
 
|fi=
|fr=
+
|fr=Template:Traduction
 +
|gd=Template:Eadar-theangachadh
 
|hr=
 
|hr=
|hu=
+
|hu=Template:Fordítás
|it=
+
|it=Template:Traduzione
 +
|ko=Template:번역
 
|lb=
 
|lb=
|nl=
+
|nl=Template:Vertaling
 
|no=
 
|no=
|pl=
+
|pl=Template:Tłumaczenie
|pt=
+
|pt=Template:Tradução
|ru=
+
|ru=Template:Перевод
 
|sk=
 
|sk=
 
|sl=
 
|sl=
Line 23: Line 25:
 
|vi=
 
|vi=
 
|zh=
 
|zh=
}}{{-}}</noinclude>
+
|language_page=en
{{ambox
+
}}{{-}}</noinclude>{{ambox
 
| type  = style
 
| type  = style
 
| image = Translation.png
 
| image = Translation.png
Line 35: Line 37:
 
   | fi = Finnish
 
   | fi = Finnish
 
   | fr = French
 
   | fr = French
 +
  | gd = Scottish Gaelic
 
   | hr = Croatian
 
   | hr = Croatian
 
   | hu = Hungarian
 
   | hu = Hungarian
 
   | it = Italian
 
   | it = Italian
 +
  | ko = Korean
 
   | lb = Luxembourgish
 
   | lb = Luxembourgish
 
   | nl = Dutch
 
   | nl = Dutch
Line 43: Line 47:
 
   | pl = Polish
 
   | pl = Polish
 
   | pt = Portuguese
 
   | pt = Portuguese
 +
  | ro = Romanian
 
   | ru = Russian
 
   | ru = Russian
 
   | sk = Slovak
 
   | sk = Slovak
Line 48: Line 53:
 
   | sr = Serbian
 
   | sr = Serbian
 
   | tr = Turkish
 
   | tr = Turkish
 +
  | uk = Ukrainian
 
   | vi = Vietnamese
 
   | vi = Vietnamese
 
   | zh = Chinese
 
   | zh = Chinese
 +
  | ja = Japanese
 
   | #default = English
 
   | #default = English
 
}} to {{#switch:{{{to|}}}
 
}} to {{#switch:{{{to|}}}
Line 59: Line 66:
 
   | fi = Finnish
 
   | fi = Finnish
 
   | fr = French
 
   | fr = French
 +
  | gd = Scottish Gaelic
 
   | hr = Croatian
 
   | hr = Croatian
 
   | hu = Hungarian
 
   | hu = Hungarian
 
   | it = Italian
 
   | it = Italian
 +
  | ko = Korean
 
   | lb = Luxembourgish
 
   | lb = Luxembourgish
 
   | nl = Dutch
 
   | nl = Dutch
Line 67: Line 76:
 
   | pl = Polish
 
   | pl = Polish
 
   | pt = Portuguese
 
   | pt = Portuguese
 +
  | ro = Romanian
 
   | ru = Russian
 
   | ru = Russian
 
   | sk = Slovak
 
   | sk = Slovak
Line 72: Line 82:
 
   | sr = Serbian
 
   | sr = Serbian
 
   | tr = Turkish
 
   | tr = Turkish
 +
  | uk = Ukrainian
 
   | vi = Vietnamese
 
   | vi = Vietnamese
   | zh = /Zh
+
   | zh = Chinese
 +
  | ja = Japanese
 
   | #default = English
 
   | #default = English
}}</strong><br/>
+
}}</strong>
Original = <includeonly>[{{SERVER}}{{localurl:{{NAMESPACE}}:{{{origin}}}|action=view}} {{{origin}}}]</includeonly><br/>
+
<div style="font-size: 90%">
<p style="font-size: 90%">Please help improve it by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} helping in drafting]. Use the [[OpenTTD:Manual of Style|Manual of Style]] for a correct edition.<br/>
+
Title of original article: <includeonly>[{{SERVER}}{{localurl:{{NAMESPACE}}:{{{origin}}}|action=view}} {{{origin}}}]</includeonly><noinclude>{{{origin}}}</noinclude><br/>Percentage: {{{Percentage|0}}}%</div>
Remember to remove this template once the article has been correctly translated.</p>
+
<div style="width:200px; text-align:Left; border:1px solid #aaa; padding:1px; overflow:hidden;"><span style="width:{{#expr: ({{{Percentage|0}}}/100) * 100}}%; height:2px; background:#7fff00; float:left;">&nbsp;</span><span style="width:{{#expr: 100 - ({{{Percentage|0}}}/100) * 100}}%; height:2px; background:#ff7f50; float:left;">&nbsp;</span></div><div style="font-size: 80%">
}}
+
*Please help improve it by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} helping in drafting].
<includeonly>{{#switch:{{{from|}}}
+
*Use the [[OpenTTD:Manual of Style|Manual of Style]] for a correct edition.
   | ca = [[Category:Articles en català/Ca]]
+
*Remember to remove this template once the article has been correctly translated.</div>
 +
}}<includeonly>{{#switch:{{{to|}}}
 +
   | ca = [[Category:Articles en català/Ca]][[Category:Articles traduint-se al català/Ca]]
 
   | cs = [[Category:Články v českých/Cs]]
 
   | cs = [[Category:Články v českých/Cs]]
   | de = [[Category:Artikel in deutscher Sprache/De]]
+
   | de = [[Category:Artikel in deutscher Sprache/De]][[Category:Artikel, welche in die deutsche Sprache übersetzt werden/De]]
 
   | el = [[Category:Τα άρθρα στην ελληνική γλώσσα/El]]
 
   | el = [[Category:Τα άρθρα στην ελληνική γλώσσα/El]]
   | es = [[Category:Artículos en español/Es]]
+
   | es = [[Category:Artículos en español/Es]][[Category:Artículos que se están traduciendo al español/Es]]
 
   | fi = [[Category:Artikkelit suomeksi/Fi]]
 
   | fi = [[Category:Artikkelit suomeksi/Fi]]
   | fr = [[Category:Articles en français/Fr]]
+
   | fr = [[Category:Articles en français/Fr]][[Category:À traduire en français/Fr]]
 +
  | gd = [[Category:Aistidhean sa Ghàidhlig/Gd]][[Category:Ag eadar-theangachadh dhan Ghàidhlig/Gd]]
 
   | hr = [[Category:Članci na hrvatskom/Hr]]
 
   | hr = [[Category:Članci na hrvatskom/Hr]]
 
   | hu = [[Category:Cikkek magyar/Hu]]
 
   | hu = [[Category:Cikkek magyar/Hu]]
 
   | it = [[Category:Articoli in italiano/It]]
 
   | it = [[Category:Articoli in italiano/It]]
 +
  | ko = [[Category:한국어 문서/Ko]]
 
   | lb = [[Category:Articles in Luxembourgish/Lb]]
 
   | lb = [[Category:Articles in Luxembourgish/Lb]]
   | nl = [[Category:Artikelen in het Nederlands/Nl]]
+
   | nl = [[Category:Artikelen in het Nederlands/Nl]][[Category:Artikelen die worden vertaald/Nl]]
 
   | no = [[Category:Artikler i norske/No]]
 
   | no = [[Category:Artikler i norske/No]]
 
   | pl = [[Category:Artykuły w języku polskim/Pl]]
 
   | pl = [[Category:Artykuły w języku polskim/Pl]]
 
   | pt = [[Category:Artigos em Português/Pt]]
 
   | pt = [[Category:Artigos em Português/Pt]]
   | ru = [[Category:Статьи на русском языке/Ru]]
+
  | ro = [[Category:Articole în limba română/Ro]]
 +
   | ru = [[Category:Статьи на русском языке/Ru]][[Category:Статьи в настоящее время переведенные на русский язык/Ru]]
 
   | sk = [[Category:Články na slovenské/Sk]]
 
   | sk = [[Category:Články na slovenské/Sk]]
 
   | sl = [[Category:Članki v slovenščini/Sl]]
 
   | sl = [[Category:Članki v slovenščini/Sl]]
 
   | sr = [[Category:Članci na srpskom/Sr]]
 
   | sr = [[Category:Članci na srpskom/Sr]]
 
   | tr = [[Category:Türk Makaleler/Tr]]
 
   | tr = [[Category:Türk Makaleler/Tr]]
 +
  | uk = [[Category:Статті на українській мові/Uk]]
 
   | vi = [[Category:Các bài viết bằng tiếng Việt/Vi]]
 
   | vi = [[Category:Các bài viết bằng tiếng Việt/Vi]]
   | zh = [[Category:中文論文/Zh]]
+
   | zh = [[Category:中文文章/Zh]]
}}
+
  | ja = [[Category:日本語のページ/Ja]]
<includeonly><noinclude>
+
}}</includeonly><noinclude>
 +
 
 
=== Using the template ===
 
=== Using the template ===
Type this at the beginning of the article to indicate that it is in process of translation.
+
Type this at the beginning of the article to indicate that it is in process of translation:
 
<pre>
 
<pre>
 
{{Translation
 
{{Translation
|origin= original article
+
|origin= title of original article
 
|from  = language from
 
|from  = language from
 
|to    = language to
 
|to    = language to
 +
|Percentage =
 
}}
 
}}
 
</pre>
 
</pre>
Line 120: Line 140:
 
|from  = es
 
|from  = es
 
|to    = en
 
|to    = en
 +
|Percentage =75
 
}}
 
}}
 
</pre>
 
</pre>
 +
Result:
 
{{Translation
 
{{Translation
 
|origin= Instalación/Es
 
|origin= Instalación/Es
 
|from  = es
 
|from  = es
 
|to    = en
 
|to    = en
 +
|Percentage =75
 
}}
 
}}
 +
 +
===Parameter "to"===
 +
Also, the parameter "to" indicates the language of the page:
 +
 +
{|border="2" width="auto" cellspacing="4" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA;"
 +
!width='46' style="background:#efefef;"|<code>to=</code>
 +
!colspan="2" style="background:#efefef;"|The article will be added to... (Category)
 +
|-
 +
|<code>ca</code>|| [[:Category:Articles en català/Ca|Articles en català/Ca]] || [[:Category:Articles traduint-se al català/Ca|Articles traduint-se al català/Ca]]
 +
|-
 +
|<code>cs</code>|| [[:Category:Články v českých/Cs|Články v českých/Cs]] ||
 +
|-
 +
|<code>de</code>|| [[:Category:Artikel in deutscher Sprache/De|Artikel in deutscher Sprache/De]] || [[:Category:Artikel, welche in die deutsche Sprache übersetzt werden/De|Artikel, welche in die deutsche Sprache übersetzt werden/De]]
 +
|-
 +
|<code>el</code>|| [[:Category:Τα άρθρα στην ελληνική γλώσσα/El|Τα άρθρα στην ελληνική γλώσσα/El]] ||
 +
|-
 +
|<code>es</code>|| [[:Category:Artículos en español/Es|Artículos en español/Es]] || [[:Category:Artículos que se están traduciendo al español/Es|Artículos que se están traduciendo al español/Es]]
 +
|-
 +
|<code>fi</code>|| [[:Category:Artikkelit suomeksi/Fi|Artikkelit suomeksi/Fi]] ||
 +
|-
 +
|<code>fr</code>|| [[:Category:Articles en français/Fr|Articles en français/Fr]] || [[:Category:À traduire en français/Fr|À traduire en français/Fr]]
 +
|-
 +
|<code>gd</code>|| [[:Category:Aistidhean sa Ghàidhlig/Gd|Aistidhean sa Ghàidhlig/Gd]] || [[:Category:Ag eadar-theangachadh dhan Ghàidhlig/Gd|Ag eadar-theangachadh dhan Ghàidhlig/Gd]]
 +
|-
 +
|<code>hr</code>|| [[:Category:Članci na hrvatskom/Hr|Članci na hrvatskom/Hr]] ||
 +
|-
 +
|<code>hu</code>|| [[:Category:Cikkek magyar/Hu|Cikkek magyar/Hu]] || [[:Category:Fordításban/Hu|Fordításban/Hu]]
 +
|-
 +
|<code>it</code>|| [[:Category:Articoli in italiano/It|Articoli in italiano/It]] || [[:Category:Articoli in fase di traduzione/It|Articoli in fase di traduzione/It]]
 +
|-
 +
|<code>ko</code>|| [[:Category:한국어 문서/Ko|한국어 문서/Ko]] || [[:Category:한국어로 번역중/Ko|한국어로 번역중/Ko]]
 +
|-
 +
|<code>lb</code>|| [[:Category:Artikelen op Lëtzebuergesch/Lb|Artikelen op Lëtzebuergesch/Lb]] ||
 +
|-
 +
|<code>nl</code>|| [[:Category:Artikelen in het Nederlands/Nl|Artikelen in het Nederlands/Nl]] || [[:Category:Artikelen die worden vertaald/Nl]]
 +
|-
 +
|<code>no</code>|| [[:Category:Artikler i norske/No|Artikler i norske/No]] ||
 +
|-
 +
|<code>pl</code>|| [[:Category:Artykuły w języku polskim/Pl|Artykuły w języku polskim/Pl]] ||
 +
|-
 +
|<code>pt</code>|| [[:Category:Artigos em Português/Pt|Artigos em Português/Pt]] ||
 +
|-
 +
|<code>ro</code>|| [[:Category:Articole în limba română/Ro|Articole în limba română/Ro]] ||
 +
|-
 +
|<code>ru</code>|| [[:Category:Статьи на русском языке/Ru|Статьи на русском языке/Ru]] || [[:Category:Статьи в настоящее время переведенные на русский язык/Ru|Статьи в настоящее время переведенные на русский язык/Ru]]
 +
|-
 +
|<code>sk</code>|| [[:Category:Články na slovenské/Sk|Články na slovenské/Sk]] ||
 +
|-
 +
|<code>sl</code>|| [[:Category:Članki v slovenščini/Sl|Članki v slovenščini/Sl]] ||
 +
|-
 +
|<code>sr</code>|| [[:Category:Članci na srpskom/Sr|Članci na srpskom/Sr]] ||
 +
|-
 +
|<code>tr</code>|| [[:Category:Türk Makaleler/Tr|Türk Makaleler/Tr]] ||
 +
|-
 +
|<code>uk</code>|| [[:Category:Статті на українській мові/Uk|Статті на українській мові/Uk]] ||
 +
|-
 +
|<code>vi</code>||  ||
 +
|-
 +
|<code>zh</code>|| [[:Category:中文文章/Zh|中文文章/Zh]] ||
 +
|-
 +
|<code>zh</code>|| [[:Category:日本語のページ/Ja|日本語のページ/Ja]] ||
 +
|}
 +
 
=== Completed the translation===
 
=== Completed the translation===
 
Remove this template if this article is completely translated.
 
Remove this template if this article is completely translated.
 
+
[[Category:Templates|Translation]][[Category:Translation|Translation]][[Category:Message boxes|Translation]]</noinclude>
[[Category:Templates]]
+
</noinclude>
+

Latest revision as of 05:15, 17 June 2018


Translation.png

This article is being translated from English to English

Title of original article: {{{origin}}}
Percentage: 0%
  
  • Please help improve it by helping in drafting.
  • Use the Manual of Style for a correct edition.
  • Remember to remove this template once the article has been correctly translated.

[edit] Using the template

Type this at the beginning of the article to indicate that it is in process of translation:

{{Translation
|origin= title of original article
|from  = language from
|to    = language to
|Percentage =
}}

For example:

{{Translation
|origin= Instalación/Es
|from  = es
|to    = en
|Percentage =75
}}

Result:

Translation.png

This article is being translated from Spanish to English

Title of original article: Instalación/Es
Percentage: 75%
  
  • Please help improve it by helping in drafting.
  • Use the Manual of Style for a correct edition.
  • Remember to remove this template once the article has been correctly translated.

[edit] Parameter "to"

Also, the parameter "to" indicates the language of the page:

to= The article will be added to... (Category)
ca Articles en català/Ca Articles traduint-se al català/Ca
cs Články v českých/Cs
de Artikel in deutscher Sprache/De Artikel, welche in die deutsche Sprache übersetzt werden/De
el Τα άρθρα στην ελληνική γλώσσα/El
es Artículos en español/Es Artículos que se están traduciendo al español/Es
fi Artikkelit suomeksi/Fi
fr Articles en français/Fr À traduire en français/Fr
gd Aistidhean sa Ghàidhlig/Gd Ag eadar-theangachadh dhan Ghàidhlig/Gd
hr Članci na hrvatskom/Hr
hu Cikkek magyar/Hu Fordításban/Hu
it Articoli in italiano/It Articoli in fase di traduzione/It
ko 한국어 문서/Ko 한국어로 번역중/Ko
lb Artikelen op Lëtzebuergesch/Lb
nl Artikelen in het Nederlands/Nl Category:Artikelen die worden vertaald/Nl
no Artikler i norske/No
pl Artykuły w języku polskim/Pl
pt Artigos em Português/Pt
ro Articole în limba română/Ro
ru Статьи на русском языке/Ru Статьи в настоящее время переведенные на русский язык/Ru
sk Články na slovenské/Sk
sl Članki v slovenščini/Sl
sr Članci na srpskom/Sr
tr Türk Makaleler/Tr
uk Статті на українській мові/Uk
vi
zh 中文文章/Zh
zh 日本語のページ/Ja

[edit] Completed the translation

Remove this template if this article is completely translated.

Personal tools