Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Names: Difference between revisions

Template page
description
NinjaV (talk | contribs)
changed to make format fit better with wiki
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! Language
! style="text-align: center;font-size: 16px;background-color: #583a31;color: white;" | {{lang
! Name
|fr=Langue
! Meaning
|Language}}
! style="text-align: center;font-size: 16px;background-color: #583a31;color: white;" | {{lang
|fr=Nom
|Name}}
! style="text-align: center;font-size: 16px;background-color: #583a31;color: white;" | {{lang
|fr=Signification
|Meaning}}
|-
|-
{{#if: {{{arabic|}}} |
{{#if: {{{ar|}}} |
{{!}} Arabic
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ar|{{PAGELANGUAGE}}}}
{{!}} lang=ar dir=rtl {{!}} {{{arabic}}}
{{!}} lang=ar dir=rtl {{!}} {{{ar}}}
{{!}} {{{arabic_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{ar_m|-}}}
}}
}}
|-
|-
{{#if: {{{bulgarian|}}} |
{{#if: {{{bg|}}} |
{{!}} Bulgarian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:bg|{{PAGELANGUAGE}}}}
{{!}} lang=bg dir=ltr {{!}} {{{bulgarian}}}
{{!}} lang=bg dir=ltr {{!}} {{{bg}}}
{{!}} {{{bulgarian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{bg_m|-}}}
}}
}}
|-
|-
{{#if: {{{schinese|}}} |
{{#if: {{{cs|}}} |
{{!}} Chinese (Simplified)
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:cs|{{PAGELANGUAGE}}}}
{{!}} lang=zh-Hans dir=ltr {{!}} {{{schinese}}}
{{!}} lang=cs dir=ltr {{!}} {{{cs}}}
{{!}} {{{schinese_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{cs_m|-}}}
}}
}}
|-
|-
{{#if: {{{tchinese|}}} |
{{#if: {{{da|}}} |
{{!}} Chinese (Traditional)
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:da|{{PAGELANGUAGE}}}}
{{!}} lang=zh-Hant dir=ltr {{!}} {{{tchinese}}}
{{!}} lang=da dir=ltr {{!}} {{{da}}}
{{!}} {{{tchinese_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{da_m|-}}}
}}
}}
|-
|-
{{#if: {{{czech|}}} |
{{#if: {{{es|}}} |
{{!}} Czech
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es|{{PAGELANGUAGE}}}}
{{!}} lang=cs dir=ltr {{!}} {{{czech}}}
{{!}} lang=es dir=ltr {{!}} {{{es}}}
{{!}} {{{czech_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{es_m|-}}}
}}
}}
|-
|-
{{#if: {{{danish|}}} |
{{#if: {{{es-419|}}} |
{{!}} Danish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es-419|{{PAGELANGUAGE}}}}
{{!}} lang=da dir=ltr {{!}} {{{danish}}}
{{!}} lang=es-419 dir=ltr {{!}} {{{es-419}}}
{{!}} {{{danish_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{es-419_m|-}}}
}}
}}
|-
|-
{{#if: {{{dutch|}}} |
{{#if: {{{en|}}} |
{{!}} Dutch
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:en|{{PAGELANGUAGE}}}}
{{!}} lang=nl dir=ltr {{!}} {{{dutch}}}
{{!}} lang=en dir=ltr {{!}} {{{en}}}
{{!}} {{{dutch_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{en_m|-}}}
}}
}}
|-
|-
{{#if: {{{english|}}} |
{{#if: {{{fi|}}} |
{{!}} English
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fi|{{PAGELANGUAGE}}}}
{{!}} lang=en dir=ltr {{!}} {{{english}}}
{{!}} lang=fi dir=ltr {{!}} {{{fi}}}
{{!}} {{{english_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{fi_m|-}}}
}}
}}
|-
|-
{{#if: {{{finnish|}}} |
{{#if: {{{fr|}}} |
{{!}} Finnish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fr|{{PAGELANGUAGE}}}}
{{!}} lang=fi dir=ltr {{!}} {{{finnish}}}
{{!}} lang=fr dir=ltr {{!}} {{{fr}}}
{{!}} {{{finnish_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{fr_m|-}}}
}}
}}
|-
|-
{{#if: {{{french|}}} |
{{#if: {{{de|}}} |
{{!}} French
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:de|{{PAGELANGUAGE}}}}
{{!}} lang=fr dir=ltr {{!}} {{{french}}}
{{!}} lang=de dir=ltr {{!}} {{{de}}}
{{!}} {{{french_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{de_m|-}}}
}}
}}
|-
|-
{{#if: {{{german|}}} |
{{#if: {{{el|}}} |
{{!}} German
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:el|{{PAGELANGUAGE}}}}
{{!}} lang=de dir=ltr {{!}} {{{german}}}
{{!}} lang=el dir=ltr {{!}} {{{el}}}
{{!}} {{{german_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{el_m|-}}}
}}
}}
|-
|-
{{#if: {{{greek|}}} |
{{#if: {{{hu|}}} |
{{!}} Greek
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:hu|{{PAGELANGUAGE}}}}
{{!}} lang=el dir=ltr {{!}} {{{greek}}}
{{!}} lang=hu dir=ltr {{!}} {{{hu}}}
{{!}} {{{greek_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{hu_m|-}}}
}}
}}
|-
|-
{{#if: {{{hungarian|}}} |
{{#if: {{{it|}}} |
{{!}} Hungarian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:it|{{PAGELANGUAGE}}}}
{{!}} lang=hu dir=ltr {{!}} {{{hungarian}}}
{{!}} lang=it dir=ltr {{!}} {{{it}}}
{{!}} {{{hungarian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{it_m|-}}}
}}
}}
|-
|-
{{#if: {{{italian|}}} |
{{#if: {{{ja|}}} |
{{!}} Italian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ja|{{PAGELANGUAGE}}}}
{{!}} lang=it dir=ltr {{!}} {{{italian}}}
{{!}} lang=ja dir=ltr {{!}} {{{ja}}}
{{!}} {{{italian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{ja_m|-}}}
}}
}}
|-
|-
{{#if: {{{japanese|}}} |
{{#if: {{{ko|}}} |
{{!}} Japanese
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ko|{{PAGELANGUAGE}}}}
{{!}} lang=ja dir=ltr {{!}} {{{japanese}}}
{{!}} lang=ko dir=ltr {{!}} {{{ko}}}
{{!}} {{{japanese_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{ko_m|-}}}
}}
}}
|-
|-
{{#if: {{{koreana|}}} |
{{#if: {{{nl|}}} |
{{!}} Korean
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} lang=ko dir=ltr {{!}} {{{koreana}}}
{{!}} lang=nl dir=ltr {{!}} {{{nl}}}
{{!}} {{{koreana_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{nl_m|-}}}
}}
}}
|-
|-
{{#if: {{{norwegian|}}} |
{{#if: {{{no|}}} |
{{!}} Norwegian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:no|{{PAGELANGUAGE}}}}
{{!}} lang=no dir=ltr {{!}} {{{norwegian}}}
{{!}} lang=no dir=ltr {{!}} {{{no}}}
{{!}} {{{norwegian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{no_m|-}}}
}}
}}
|-
|-
{{#if: {{{polish|}}} |
{{#if: {{{pl|}}} |
{{!}} Polish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pl|{{PAGELANGUAGE}}}}
{{!}} lang=pl dir=ltr {{!}} {{{polish}}}
{{!}} lang=pl dir=ltr {{!}} {{{pl}}}
{{!}} {{{polish_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{pl_m|-}}}
}}
}}
|-
|-
{{#if: {{{portuguese|}}} |
{{#if: {{{pt|}}} |
{{!}} Portuguese
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt|{{PAGELANGUAGE}}}}
{{!}} lang=pt dir=ltr {{!}} {{{portuguese}}}
{{!}} lang=pt dir=ltr {{!}} {{{pt}}}
{{!}} {{{portuguese_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{pt_m|-}}}
}}
}}
|-
|-
{{#if: {{{brazilian|}}} |
{{#if: {{{pt-br|}}} |
{{!}} Portuguese-Brazil
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt-br|{{PAGELANGUAGE}}}}
{{!}} lang=pt-BR dir=ltr {{!}} {{{brazilian}}}
{{!}} lang=pt-BR dir=ltr {{!}} {{{pt-br}}}
{{!}} {{{brazilian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{pt-br_m|-}}}
}}
}}
|-
|-
{{#if: {{{romanian|}}} |
{{#if: {{{ro|}}} |
{{!}} Romanian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ro|{{PAGELANGUAGE}}}}
{{!}} lang=ro dir=ltr {{!}} {{{romanian}}}
{{!}} lang=ro dir=ltr {{!}} {{{ro}}}
{{!}} {{{romanian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{ro_m|-}}}
}}
}}
|-
|-
{{#if: {{{russian|}}} |
{{#if: {{{ru|}}} |
{{!}} Russian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ru|{{PAGELANGUAGE}}}}
{{!}} lang=ru dir=ltr {{!}}{{{russian}}}
{{!}} lang=ru dir=ltr {{!}}{{{ru}}}
{{!}} {{{russian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{ru_m|-}}}
}}
}}
|-
|-
{{#if: {{{spanish|}}} |
{{#if: {{{sv|}}} |
{{!}} Spanish-Spain
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:sv|{{PAGELANGUAGE}}}}
{{!}} lang=es dir=ltr {{!}} {{{spanish}}}
{{!}} lang=sv dir=ltr {{!}} {{{sv}}}
{{!}} {{{spanish_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{sv_m|-}}}
}}
}}
|-
|-
{{#if: {{{latam|}}} |
{{#if: {{{th|}}} |
{{!}} Spanish-Latin America
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:th|{{PAGELANGUAGE}}}}
{{!}} lang=es-419 dir=ltr {{!}} {{{latam}}}
{{!}} lang=th dir=ltr {{!}} {{{th}}}
{{!}} {{{latam_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{th_m|-}}}
}}
}}
|-
|-
{{#if: {{{swedish|}}} |
{{#if: {{{tr|}}} |
{{!}} Swedish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:tr|{{PAGELANGUAGE}}}}
{{!}} lang=sv dir=ltr {{!}} {{{swedish}}}
{{!}} lang=tr dir=ltr {{!}} {{{tr}}}
{{!}} {{{swedish_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{tr_m|-}}}
}}
}}
|-
|-
{{#if: {{{thai|}}} |
{{#if: {{{uk|}}} |
{{!}} Thai
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:uk|{{PAGELANGUAGE}}}}
{{!}} lang=th dir=ltr {{!}} {{{thai}}}
{{!}} lang=uk dir=ltr {{!}} {{{uk}}}
{{!}} {{{thai_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{uk_m|-}}}
}}
}}
|-
|-
{{#if: {{{turkish|}}} |
{{#if: {{{vi|}}} |
{{!}} Turkish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:vi|{{PAGELANGUAGE}}}}
{{!}} lang=tr dir=ltr {{!}} {{{turkish}}}
{{!}} lang=vi dir=ltr {{!}} {{{vi}}}
{{!}} {{{turkish_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{vi_m|-}}}
}}
}}
|-
|-
{{#if: {{{ukrainian|}}} |
{{#if: {{{zh-hans|}}} |
{{!}} Ukrainian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} lang=uk dir=ltr {{!}} {{{ukrainian}}}
{{!}} lang=zh-Hans dir=ltr {{!}} {{{zh-hans}}}
{{!}} {{{ukrainian_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{zh-hans_m|-}}}
}}
}}
|-
|-
{{#if: {{{vietnamese|}}} |
{{#if: {{{zh-hant|}}} |
{{!}} Vietnamese
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hant|{{PAGELANGUAGE}}}}
{{!}} lang=vn dir=ltr {{!}} {{{vietnamese}}}
{{!}} lang=zh-Hant dir=ltr {{!}} {{{zh-hant}}}
{{!}} {{{vietnamese_m|-}}}
{{!}} style="background-color: #fffaed;" {{!}} {{{zh-hant_m|-}}}
}}
}}
|}<noinclude>
|}<noinclude>
Line 181: Line 187:
This template should be used to compare the various translations of terms in the multiple languages TF2C was translated into.
This template should be used to compare the various translations of terms in the multiple languages TF2C was translated into.


The <code>Name</code> column should be the translation extracted from the game's file.
The {{code|Name}} column should be the translation extracted from the game's file.


The <code>Meaning</code> column should be said translation literally translated to English (via Google Translation, DeepL, etc.), in order to easily compare the differences of meaning between the translations.
The {{code|Meaning}} column should be said translation literally translated to English (via Google Translation, DeepL, etc.), in order to easily compare the differences of meaning between the translations.


=== Example ===
=== Example ===
<pre>{{Names
{{pre|<nowiki>{{Names
|english=Something
|en=Something
|french=Quelque chose|french_m=Something
|fr=Quelque chose|fr_m=Something
|spanish=Alguna cosa|spanish_m=Alguna cosa
|es=Alguna cosa|es_m=Something
}}</pre>
}}</nowiki>}}
{{Names
|en=Something
|fr=Quelque chose|fr_m=Something
|es=Alguna cosa|es_m=Something
}}
=== Supported languages ===
=== Supported languages ===
{{Names
{{Names
|arabic=العربية|arabic_m=arabic
|ar={{#language:ar}}|ar_m=ar
|bulgarian=български език|bulgarian_m=bulgarian
|bg={{#language:bg}}|bg_m=bg
|schinese=简体中文|schinese_m=schinese
|cs={{#language:cs}}|cs_m=cs
|tchinese=繁體中文|tchinese_m=tchinese
|da={{#language:da}}|da_m=da
|czech=čeština|czech_m=czech
|de={{#language:de}}|de_m=de
|danish=Dansk|danish_m=danish
|el={{#language:el}}|el_m=el
|dutch=Nederlands|dutch_m=dutch
|en={{#language:en}}|en_m=en
|english=English|english_m=english
|es={{#language:es}}|es_m=es
|finnish=Suomi|finnish_m=finnish
|es-419={{#language:es-419}}|es-419_m=es-419
|french=Français|french_m=french
|fi={{#language:fi}}|fi_m=fi
|german=Deutsch|german_m=german
|fr={{#language:fr}}|fr_m=fr
|greek=Ελληνικά|greek_m=greek
|hu={{#language:hu}}|hu_m=hu
|hungarian=Magyar|hungarian_m=hungarian
|it={{#language:it}}|it_m=it
|italian=Italiano|italian_m=italian
|ja={{#language:ja}}|ja_m=ja
|japanese=日本語|japanese_m=japanese
|ko={{#language:ko}}|ko_m=ko
|koreana=한국어|koreana_m=koreana
|nl={{#language:nl}}|nl_m=nl
|norwegian=Norsk|norwegian_m=norwegian
|no={{#language:no}}|no_m=no
|polish=Polski|polish_m=polish
|pl={{#language:pl}}|pl_m=pl
|portuguese=Português|portuguese_m=portuguese
|pt={{#language:pt}}|pt_m=pt
|brazilian=Português-Brasil|brazilian_m=brazilian
|pt-br={{#language:pt-br}}|pt-br_m=pt-br
|romanian=Română|romanian_m=romanian
|ro={{#language:ro}}|ro_m=ro
|russian=Русский|russian_m=russian
|ru={{#language:ru}}|ru_m=ru
|spanish=Español-España|spanish_m=spanish
|sv={{#language:sv}}|sv_m=sv
|latam=Español-Latinoamérica|latam_m=latam
|th={{#language:th}}|th_m=th
|swedish=Svenska|swedish_m=swedish
|tu={{#language:tu}}|tu_m=tu
|thai=ไทย|thai_m=thai
|uk={{#language:uk}}|uk_m=uk
|turkish=Türkçe|turkish_m=turkish
|vi={{#language:vi}}|vi_m=vi
|ukrainian=Українська|ukrainian_m=ukrainian
|zh-hans={{#language:zh-hans}}|zh-hans_m=zh-hans
|vietnamese=Tiếng Việt|vietnamese_m=vietnamese
|zh-hant={{#language:zh-hant}}|zh-hant_m=zh-hant
}}
}}
Note: Even though this many languages are supported by the template, these are just the languages that the Source Engine technically supports, but may not actually have translations for TF2Classic. For the sake of consistency, please only use the languages which TF2C was actually translated to.
Note: Even though this many languages are supported by the template, these are just the languages that the Source Engine technically supports, but may not actually have translations for TF2Classic. For the sake of consistency, please only use the languages which TF2C was actually translated to.


The localization files can easily be found within the <code>resources</code> directory of TF2Classic. Quickly finding the string in <code>tf2classic_english.txt</code>, then looking up the key in the other translations lets you easily find everything you need without having to launch the game.
The localization files can easily be found within the {{code|resources}} directory of TF2Classic. Quickly finding the string in {{code|tf2classic_english.txt}}, then looking up the key in the other translations lets you easily find everything you need without having to launch the game.
</noinclude>
</noinclude>