Template:Names: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(names in other languages (inspired by wikirby))
 
(Removed white background color)
 
(7 intermediate revisions by 2 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}}}}
{{!}} {{{arabic}}}
{{!}} lang=ar dir=rtl {{!}} {{{ar}}}
{{!}} {{{arabic_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ar_m|-}}}
}}
}}
|-
|-
{{#if: {{{bulgarian|}}} |
{{#if: {{{bg|}}} |
{{!}} Bulgarian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:bg|{{PAGELANGUAGE}}}}
{{!}} {{{bulgarian}}}
{{!}} lang=bg dir=ltr {{!}} {{{bg}}}
{{!}} {{{bulgarian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{bg_m|-}}}
}}
}}
|-
|-
{{#if: {{{schinese|}}} |
{{#if: {{{cs|}}} |
{{!}} Chinese (Simplified)
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:cs|{{PAGELANGUAGE}}}}
{{!}} {{{schinese}}}
{{!}} lang=cs dir=ltr {{!}} {{{cs}}}
{{!}} {{{schinese_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{cs_m|-}}}
}}
}}
|-
|-
{{#if: {{{tchinese|}}} |
{{#if: {{{da|}}} |
{{!}} Chinese (Traditional)
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:da|{{PAGELANGUAGE}}}}
{{!}} {{{tchinese}}}
{{!}} lang=da dir=ltr {{!}} {{{da}}}
{{!}} {{{tchinese_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{da_m|-}}}
}}
}}
|-
|-
{{#if: {{{czech|}}} |
{{#if: {{{es|}}} |
{{!}} Czech
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es|{{PAGELANGUAGE}}}}
{{!}} {{{czech}}}
{{!}} lang=es dir=ltr {{!}} {{{es}}}
{{!}} {{{czech_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{es_m|-}}}
}}
}}
|-
|-
{{#if: {{{danish|}}} |
{{#if: {{{es-419|}}} |
{{!}} Danish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es-419|{{PAGELANGUAGE}}}}
{{!}} {{{danish}}}
{{!}} lang=es-419 dir=ltr {{!}} {{{es-419}}}
{{!}} {{{danish_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{es-419_m|-}}}
}}
}}
|-
|-
{{#if: {{{dutch|}}} |
{{#if: {{{en|}}} |
{{!}} Dutch
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:en|{{PAGELANGUAGE}}}}
{{!}} {{{dutch}}}
{{!}} lang=en dir=ltr {{!}} {{{en}}}
{{!}} {{{dutch_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{en_m|-}}}
}}
}}
|-
|-
{{#if: {{{finnish|}}} |
{{#if: {{{fi|}}} |
{{!}} Finnish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fi|{{PAGELANGUAGE}}}}
{{!}} {{{finnish}}}
{{!}} lang=fi dir=ltr {{!}} {{{fi}}}
{{!}} {{{finnish_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{fi_m|-}}}
}}
}}
|-
|-
{{#if: {{{french|}}} |
{{#if: {{{fr|}}} |
{{!}} French
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fr|{{PAGELANGUAGE}}}}
{{!}} {{{french}}}
{{!}} lang=fr dir=ltr {{!}} {{{fr}}}
{{!}} {{{french_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{fr_m|-}}}
}}
}}
|-
|-
{{#if: {{{english|}}} |
{{#if: {{{de|}}} |
{{!}} English
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:de|{{PAGELANGUAGE}}}}
{{!}} {{{english}}}
{{!}} lang=de dir=ltr {{!}} {{{de}}}
{{!}} {{{english|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{de_m|-}}}
}}
}}
|-
|-
{{#if: {{{german|}}} |
{{#if: {{{el|}}} |
{{!}} German
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:el|{{PAGELANGUAGE}}}}
{{!}} {{{german}}}
{{!}} lang=el dir=ltr {{!}} {{{el}}}
{{!}} {{{german_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{el_m|-}}}
}}
}}
|-
|-
{{#if: {{{greek|}}} |
{{#if: {{{hu|}}} |
{{!}} Greek
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:hu|{{PAGELANGUAGE}}}}
{{!}} {{{greek}}}
{{!}} lang=hu dir=ltr {{!}} {{{hu}}}
{{!}} {{{greek_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{hu_m|-}}}
}}
}}
|-
|-
{{#if: {{{hungarian|}}} |
{{#if: {{{it|}}} |
{{!}} Hungarian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:it|{{PAGELANGUAGE}}}}
{{!}} {{{hungarian}}}
{{!}} lang=it dir=ltr {{!}} {{{it}}}
{{!}} {{{hungarian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{it_m|-}}}
}}
}}
|-
|-
{{#if: {{{italian|}}} |
{{#if: {{{ja|}}} |
{{!}} Italian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ja|{{PAGELANGUAGE}}}}
{{!}} {{{italian}}}
{{!}} lang=ja dir=ltr {{!}} {{{ja}}}
{{!}} {{{italian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ja_m|-}}}
}}
}}
|-
|-
{{#if: {{{japanese|}}} |
{{#if: {{{ko|}}} |
{{!}} Japanese
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ko|{{PAGELANGUAGE}}}}
{{!}} {{{japanese}}}
{{!}} lang=ko dir=ltr {{!}} {{{ko}}}
{{!}} {{{japanese_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ko_m|-}}}
}}
}}
|-
|-
{{#if: {{{koreana|}}} |
{{#if: {{{nl|}}} |
{{!}} Korean
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} {{{koreana}}}
{{!}} lang=nl dir=ltr {{!}} {{{nl}}}
{{!}} {{{koreana_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{nl_m|-}}}
}}
}}
|-
|-
{{#if: {{{norwegian|}}} |
{{#if: {{{no|}}} |
{{!}} Norwegian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:no|{{PAGELANGUAGE}}}}
{{!}} {{{norwegian}}}
{{!}} lang=no dir=ltr {{!}} {{{no}}}
{{!}} {{{norwegian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{no_m|-}}}
}}
}}
|-
|-
{{#if: {{{polish|}}} |
{{#if: {{{pl|}}} |
{{!}} Polish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pl|{{PAGELANGUAGE}}}}
{{!}} {{{polish}}}
{{!}} lang=pl dir=ltr {{!}} {{{pl}}}
{{!}} {{{polish_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{pl_m|-}}}
}}
}}
|-
|-
{{#if: {{{portuguese|}}} |
{{#if: {{{pt|}}} |
{{!}} Portuguese
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt|{{PAGELANGUAGE}}}}
{{!}} {{{portuguese}}}
{{!}} lang=pt dir=ltr {{!}} {{{pt}}}
{{!}} {{{portuguese_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{pt_m|-}}}
}}
}}
|-
|-
{{#if: {{{brazilian|}}} |
{{#if: {{{pt-br|}}} |
{{!}} Portuguese-Brazil
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt-br|{{PAGELANGUAGE}}}}
{{!}} {{{brazilian}}}
{{!}} lang=pt-BR dir=ltr {{!}} {{{pt-br}}}
{{!}} {{{brazilian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{pt-br_m|-}}}
}}
}}
|-
|-
{{#if: {{{romanian|}}} |
{{#if: {{{ro|}}} |
{{!}} Romanian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ro|{{PAGELANGUAGE}}}}
{{!}} {{{romanian}}}
{{!}} lang=ro dir=ltr {{!}} {{{ro}}}
{{!}} {{{romanian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ro_m|-}}}
}}
}}
|-
|-
{{#if: {{{russian|}}} |
{{#if: {{{ru|}}} |
{{!}} Russian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ru|{{PAGELANGUAGE}}}}
{{!}} {{{russian}}}
{{!}} lang=ru dir=ltr {{!}}{{{ru}}}
{{!}} {{{russian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ru_m|-}}}
}}
}}
|-
|-
{{#if: {{{spanish|}}} |
{{#if: {{{sv|}}} |
{{!}} Spanish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:sv|{{PAGELANGUAGE}}}}
{{!}} {{{spanish}}}
{{!}} lang=sv dir=ltr {{!}} {{{sv}}}
{{!}} {{{spanish_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{sv_m|-}}}
}}
}}
|-
|-
{{#if: {{{latam|}}} |
{{#if: {{{th|}}} |
{{!}} Spanish-Latin America
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:th|{{PAGELANGUAGE}}}}
{{!}} {{{latam}}}
{{!}} lang=th dir=ltr {{!}} {{{th}}}
{{!}} {{{latam_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{th_m|-}}}
}}
}}
|-
|-
{{#if: {{{swedish|}}} |
{{#if: {{{tr|}}} |
{{!}} Swedish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:tr|{{PAGELANGUAGE}}}}
{{!}} {{{swedish}}}
{{!}} lang=tr dir=ltr {{!}} {{{tr}}}
{{!}} {{{swedish_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{tr_m|-}}}
}}
}}
|-
|-
{{#if: {{{thai|}}} |
{{#if: {{{uk|}}} |
{{!}} Thai
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:uk|{{PAGELANGUAGE}}}}
{{!}} {{{thai}}}
{{!}} lang=uk dir=ltr {{!}} {{{uk}}}
{{!}} {{{thai_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{uk_m|-}}}
}}
}}
|-
|-
{{#if: {{{turkish|}}} |
{{#if: {{{vi|}}} |
{{!}} Turkish
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:vi|{{PAGELANGUAGE}}}}
{{!}} {{{turkish}}}
{{!}} lang=vi dir=ltr {{!}} {{{vi}}}
{{!}} {{{turkish_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{vi_m|-}}}
}}
}}
|-
|-
{{#if: {{{ukrainian|}}} |
{{#if: {{{zh-hans|}}} |
{{!}} Ukrainian
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} {{{ukrainian}}}
{{!}} lang=zh-Hans dir=ltr {{!}} {{{zh-hans}}}
{{!}} {{{ukrainian_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{zh-hans_m|-}}}
}}
}}
|-
|-
{{#if: {{{vietnamese|}}} |
{{#if: {{{zh-hant|}}} |
{{!}} Vietnamese
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hant|{{PAGELANGUAGE}}}}
{{!}} {{{vietnamese}}}
{{!}} lang=zh-Hant dir=ltr {{!}} {{{zh-hant}}}
{{!}} {{{vietnamese_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{zh-hant_m|-}}}
}}
}}
|}
|}<noinclude>
== Usage ==
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>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.
 
=== Example ===
<pre>{{Names
|en=Something
|fr=Quelque chose|fr_m=Something
|es=Alguna cosa|es_m=Something
}}</pre>
{{Names
|en=Something
|fr=Quelque chose|fr_m=Something
|es=Alguna cosa|es_m=Something
}}
=== Supported languages ===
{{Names
|ar={{#language:ar}}|ar_m=ar
|bg={{#language:bg}}|bg_m=bg
|cs={{#language:cs}}|cs_m=cs
|da={{#language:da}}|da_m=da
|de={{#language:de}}|de_m=de
|el={{#language:el}}|el_m=el
|en={{#language:en}}|en_m=en
|es={{#language:es}}|es_m=es
|es-419={{#language:es-419}}|es-419_m=es-419
|fi={{#language:fi}}|fi_m=fi
|fr={{#language:fr}}|fr_m=fr
|hu={{#language:hu}}|hu_m=hu
|it={{#language:it}}|it_m=it
|ja={{#language:ja}}|ja_m=ja
|ko={{#language:ko}}|ko_m=ko
|nl={{#language:nl}}|nl_m=nl
|no={{#language:no}}|no_m=no
|pl={{#language:pl}}|pl_m=pl
|pt={{#language:pt}}|pt_m=pt
|pt-br={{#language:pt-br}}|pt-br_m=pt-br
|ro={{#language:ro}}|ro_m=ro
|ru={{#language:ru}}|ru_m=ru
|sv={{#language:sv}}|sv_m=sv
|th={{#language:th}}|th_m=th
|tu={{#language:tu}}|tu_m=tu
|uk={{#language:uk}}|uk_m=uk
|vi={{#language:vi}}|vi_m=vi
|zh-hans={{#language:zh-hans}}|zh-hans_m=zh-hans
|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.
 
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.
</noinclude>

Latest revision as of 03:28, 7 July 2023

Language Name Meaning

Usage

This template should be used to compare the various translations of terms in the multiple languages TF2C was translated into.

The Name column should be the translation extracted from the game's file.

The 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

{{Names
|en=Something
|fr=Quelque chose|fr_m=Something
|es=Alguna cosa|es_m=Something
}}
Language Name Meaning
Spanish Alguna cosa Something
English Something -
French Quelque chose Something

Supported languages

Language Name Meaning
Arabic العربية ar
Bulgarian български bg
Czech čeština cs
Danish dansk da
Spanish español es
Latin American Spanish español de América Latina es-419
English English en
Finnish suomi fi
French français fr
German Deutsch de
Greek Ελληνικά el
Hungarian magyar hu
Italian italiano it
Japanese 日本語 ja
Korean 한국어 ko
Simplified Chinese Nederlands nl
Norwegian norsk no
Polish polski pl
Portuguese português pt
Brazilian Portuguese português do Brasil pt-br
Romanian română ro
Russian русский ru
Swedish svenska sv
Thai ไทย th
Ukrainian українська uk
Vietnamese Tiếng Việt vi
Simplified Chinese 中文(简体) zh-hans
Traditional Chinese 中文(繁體) 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.

The localization files can easily be found within the resources directory of TF2Classic. Quickly finding the string in 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.