Template:Names: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(localized this. broke multiple pages, gotta fix.)
(Added styling to the whole template)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! {{lang
! style="text-align: center;font-size: 16px;background-color: #583a31;color: white;" | {{lang
|fr=Langue
|fr=Langue
|Language}}
|Language}}
! {{lang
! style="text-align: center;font-size: 16px;background-color: #583a31;color: white;" | {{lang
|fr=Nom
|fr=Nom
|Name}}
|Name}}
! {{lang
! style="text-align: center;font-size: 16px;background-color: #583a31;color: white;" | {{lang
|fr=Signification
|fr=Signification
|Meaning}}
|Meaning}}
|-
|-
{{#if: {{{ar|}}} |
{{#if: {{{ar|}}} |
{{!}} {{#language:ar|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ar|{{PAGELANGUAGE}}}}
{{!}} lang=ar dir=rtl {{!}} {{{ar}}}
{{!}} style="background-color: white;" lang=ar dir=rtl {{!}} {{{ar}}}
{{!}} {{{ar_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ar_m|-}}}
}}
}}
|-
|-
{{#if: {{{bg|}}} |
{{#if: {{{bg|}}} |
{{!}} {{#language:bg|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:bg|{{PAGELANGUAGE}}}}
{{!}} lang=bg dir=ltr {{!}} {{{bg}}}
{{!}} style="background-color: white;" lang=bg dir=ltr {{!}} {{{bg}}}
{{!}} {{{bg_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{bg_m|-}}}
}}
}}
|-
|-
{{#if: {{{cs|}}} |
{{#if: {{{cs|}}} |
{{!}} {{#language:cs|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:cs|{{PAGELANGUAGE}}}}
{{!}} lang=cs dir=ltr {{!}} {{{cs}}}
{{!}} style="background-color: white;" lang=cs dir=ltr {{!}} {{{cs}}}
{{!}} {{{cs_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{cs_m|-}}}
}}
}}
|-
|-
{{#if: {{{da|}}} |
{{#if: {{{da|}}} |
{{!}} {{#language:da|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:da|{{PAGELANGUAGE}}}}
{{!}} lang=da dir=ltr {{!}} {{{da}}}
{{!}} style="background-color: white;" lang=da dir=ltr {{!}} {{{da}}}
{{!}} {{{da_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{da_m|-}}}
}}
}}
|-
|-
{{#if: {{{es|}}} |
{{#if: {{{es|}}} |
{{!}} {{#language:es|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es|{{PAGELANGUAGE}}}}
{{!}} lang=es dir=ltr {{!}} {{{es}}}
{{!}} style="background-color: white;" lang=es dir=ltr {{!}} {{{es}}}
{{!}} {{{es_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{es_m|-}}}
}}
}}
|-
|-
{{#if: {{{es-419|}}} |
{{#if: {{{es-419|}}} |
{{!}} {{#language:es-419|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es-419|{{PAGELANGUAGE}}}}
{{!}} lang=es-419 dir=ltr {{!}} {{{es-419}}}
{{!}} style="background-color: white;" lang=es-419 dir=ltr {{!}} {{{es-419}}}
{{!}} {{{es-419_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{es-419_m|-}}}
}}
}}
|-
|-
{{#if: {{{en|}}} |
{{#if: {{{en|}}} |
{{!}} {{#language:en|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:en|{{PAGELANGUAGE}}}}
{{!}} lang=en dir=ltr {{!}} {{{en}}}
{{!}} style="background-color: white;" lang=en dir=ltr {{!}} {{{en}}}
{{!}} {{{en_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{en_m|-}}}
}}
}}
|-
|-
{{#if: {{{fi|}}} |
{{#if: {{{fi|}}} |
{{!}} {{#language:fi|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fi|{{PAGELANGUAGE}}}}
{{!}} lang=fi dir=ltr {{!}} {{{fi}}}
{{!}} style="background-color: white;" lang=fi dir=ltr {{!}} {{{fi}}}
{{!}} {{{fi_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{fi_m|-}}}
}}
}}
|-
|-
{{#if: {{{fr|}}} |
{{#if: {{{fr|}}} |
{{!}} {{#language:fr|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fr|{{PAGELANGUAGE}}}}
{{!}} lang=fr dir=ltr {{!}} {{{fr}}}
{{!}} style="background-color: white;" lang=fr dir=ltr {{!}} {{{fr}}}
{{!}} {{{fr_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{fr_m|-}}}
}}
}}
|-
|-
{{#if: {{{de|}}} |
{{#if: {{{de|}}} |
{{!}} {{#language:de|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:de|{{PAGELANGUAGE}}}}
{{!}} lang=de dir=ltr {{!}} {{{de}}}
{{!}} style="background-color: white;" lang=de dir=ltr {{!}} {{{de}}}
{{!}} {{{de_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{de_m|-}}}
}}
}}
|-
|-
{{#if: {{{el|}}} |
{{#if: {{{el|}}} |
{{!}} {{#language:el|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:el|{{PAGELANGUAGE}}}}
{{!}} lang=el dir=ltr {{!}} {{{el}}}
{{!}} style="background-color: white;" lang=el dir=ltr {{!}} {{{el}}}
{{!}} {{{el_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{el_m|-}}}
}}
}}
|-
|-
{{#if: {{{hu|}}} |
{{#if: {{{hu|}}} |
{{!}} {{#language:hu|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:hu|{{PAGELANGUAGE}}}}
{{!}} lang=hu dir=ltr {{!}} {{{hu}}}
{{!}} style="background-color: white;" lang=hu dir=ltr {{!}} {{{hu}}}
{{!}} {{{hu_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{hu_m|-}}}
}}
}}
|-
|-
{{#if: {{{it|}}} |
{{#if: {{{it|}}} |
{{!}} {{#language:it|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:it|{{PAGELANGUAGE}}}}
{{!}} lang=it dir=ltr {{!}} {{{it}}}
{{!}} style="background-color: white;" lang=it dir=ltr {{!}} {{{it}}}
{{!}} {{{it_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{it_m|-}}}
}}
}}
|-
|-
{{#if: {{{ja|}}} |
{{#if: {{{ja|}}} |
{{!}} {{#language:ja|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ja|{{PAGELANGUAGE}}}}
{{!}} lang=ja dir=ltr {{!}} {{{ja}}}
{{!}} style="background-color: white;" lang=ja dir=ltr {{!}} {{{ja}}}
{{!}} {{{ja_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ja_m|-}}}
}}
}}
|-
|-
{{#if: {{{ko|}}} |
{{#if: {{{ko|}}} |
{{!}} {{#language:ko|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ko|{{PAGELANGUAGE}}}}
{{!}} lang=ko dir=ltr {{!}} {{{ko}}}
{{!}} style="background-color: white;" lang=ko dir=ltr {{!}} {{{ko}}}
{{!}} {{{ko_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ko_m|-}}}
}}
}}
|-
|-
{{#if: {{{nl|}}} |
{{#if: {{{nl|}}} |
{{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} lang=nl dir=ltr {{!}} {{{nl}}}
{{!}} style="background-color: white;" lang=nl dir=ltr {{!}} {{{nl}}}
{{!}} {{{nl_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{nl_m|-}}}
}}
}}
|-
|-
{{#if: {{{no|}}} |
{{#if: {{{no|}}} |
{{!}} {{#language:no|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:no|{{PAGELANGUAGE}}}}
{{!}} lang=no dir=ltr {{!}} {{{no}}}
{{!}} style="background-color: white;" lang=no dir=ltr {{!}} {{{no}}}
{{!}} {{{no_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{no_m|-}}}
}}
}}
|-
|-
{{#if: {{{pl|}}} |
{{#if: {{{pl|}}} |
{{!}} {{#language:pl|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pl|{{PAGELANGUAGE}}}}
{{!}} lang=pl dir=ltr {{!}} {{{pl}}}
{{!}} style="background-color: white;" lang=pl dir=ltr {{!}} {{{pl}}}
{{!}} {{{pl_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{pl_m|-}}}
}}
}}
|-
|-
{{#if: {{{pt|}}} |
{{#if: {{{pt|}}} |
{{!}} {{#language:pt|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt|{{PAGELANGUAGE}}}}
{{!}} lang=pt dir=ltr {{!}} {{{pt}}}
{{!}} style="background-color: white;" lang=pt dir=ltr {{!}} {{{pt}}}
{{!}} {{{pt_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{pt_m|-}}}
}}
}}
|-
|-
{{#if: {{{pt-br|}}} |
{{#if: {{{pt-br|}}} |
{{!}} {{#language:pt-br|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt-br|{{PAGELANGUAGE}}}}
{{!}} lang=pt-BR dir=ltr {{!}} {{{pt-br}}}
{{!}} style="background-color: white;" lang=pt-BR dir=ltr {{!}} {{{pt-br}}}
{{!}} {{{pt-br_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{pt-br_m|-}}}
}}
}}
|-
|-
{{#if: {{{ro|}}} |
{{#if: {{{ro|}}} |
{{!}} {{#language:ro|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ro|{{PAGELANGUAGE}}}}
{{!}} lang=ro dir=ltr {{!}} {{{ro}}}
{{!}} style="background-color: white;" lang=ro dir=ltr {{!}} {{{ro}}}
{{!}} {{{ro_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ro_m|-}}}
}}
}}
|-
|-
{{#if: {{{ru|}}} |
{{#if: {{{ru|}}} |
{{!}} {{#language:ru|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ru|{{PAGELANGUAGE}}}}
{{!}} lang=ru dir=ltr {{!}}{{{ru}}}
{{!}} style="background-color: white;" lang=ru dir=ltr {{!}}{{{ru}}}
{{!}} {{{ru_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{ru_m|-}}}
}}
}}
|-
|-
{{#if: {{{sv|}}} |
{{#if: {{{sv|}}} |
{{!}} {{#language:sv|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:sv|{{PAGELANGUAGE}}}}
{{!}} lang=sv dir=ltr {{!}} {{{sv}}}
{{!}} style="background-color: white;" lang=sv dir=ltr {{!}} {{{sv}}}
{{!}} {{{sv_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{sv_m|-}}}
}}
}}
|-
|-
{{#if: {{{th|}}} |
{{#if: {{{th|}}} |
{{!}} {{#language:th|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:th|{{PAGELANGUAGE}}}}
{{!}} lang=th dir=ltr {{!}} {{{th}}}
{{!}} style="background-color: white;" lang=th dir=ltr {{!}} {{{th}}}
{{!}} {{{th_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{th_m|-}}}
}}
}}
|-
|-
{{#if: {{{tr|}}} |
{{#if: {{{tr|}}} |
{{!}} {{#language:tr|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:tr|{{PAGELANGUAGE}}}}
{{!}} lang=tr dir=ltr {{!}} {{{tr}}}
{{!}} style="background-color: white;" lang=tr dir=ltr {{!}} {{{tr}}}
{{!}} {{{tr_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{tr_m|-}}}
}}
}}
|-
|-
{{#if: {{{uk|}}} |
{{#if: {{{uk|}}} |
{{!}} {{#language:uk|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:uk|{{PAGELANGUAGE}}}}
{{!}} lang=uk dir=ltr {{!}} {{{uk}}}
{{!}} style="background-color: white;" lang=uk dir=ltr {{!}} {{{uk}}}
{{!}} {{{uk_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{uk_m|-}}}
}}
}}
|-
|-
{{#if: {{{vi|}}} |
{{#if: {{{vi|}}} |
{{!}} {{#language:vi|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:vi|{{PAGELANGUAGE}}}}
{{!}} lang=vi dir=ltr {{!}} {{{vi}}}
{{!}} style="background-color: white;" lang=vi dir=ltr {{!}} {{{vi}}}
{{!}} {{{vi_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{vi_m|-}}}
}}
}}
|-
|-
{{#if: {{{zh-hans|}}} |
{{#if: {{{zh-hans|}}} |
{{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}}
{{!}} lang=zh-Hans dir=ltr {{!}} {{{zh-hans}}}
{{!}} style="background-color: white;" lang=zh-Hans dir=ltr {{!}} {{{zh-hans}}}
{{!}} {{{zh-hans_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{zh-hans_m|-}}}
}}
}}
|-
|-
{{#if: {{{zh-hant|}}} |
{{#if: {{{zh-hant|}}} |
{{!}} {{#language:zh-hant|{{PAGELANGUAGE}}}}
{{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hant|{{PAGELANGUAGE}}}}
{{!}} lang=zh-Hant dir=ltr {{!}} {{{zh-hant}}}
{{!}} style="background-color: white;" lang=zh-Hant dir=ltr {{!}} {{{zh-hant}}}
{{!}} {{{zh-hant_m|-}}}
{{!}} style="background-color: #dee8ed;" {{!}} {{{zh-hant_m|-}}}
}}
}}
|}<noinclude>
|}<noinclude>

Revision as of 01:42, 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.