Template:Names: Difference between revisions
Technochips (talk | contribs) (lang attributes) |
Ratboy Slim (talk | contribs) (Removed white background color) |
||
(5 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: {{{ | {{#if: {{{ar|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ar|{{PAGELANGUAGE}}}} | ||
{{!}} lang=ar | {{!}} lang=ar dir=rtl {{!}} {{{ar}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{ar_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{bg|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:bg|{{PAGELANGUAGE}}}} | ||
{{!}} lang=bg {{!}} {{{ | {{!}} lang=bg dir=ltr {{!}} {{{bg}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{bg_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{cs|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:cs|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=cs dir=ltr {{!}} {{{cs}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{cs_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{da|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:da|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=da dir=ltr {{!}} {{{da}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{da_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{es|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=es dir=ltr {{!}} {{{es}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{es_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{es-419|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:es-419|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=es-419 dir=ltr {{!}} {{{es-419}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{es-419_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{en|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:en|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=en dir=ltr {{!}} {{{en}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{en_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{fi|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fi|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=fi dir=ltr {{!}} {{{fi}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{fi_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{fr|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:fr|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=fr dir=ltr {{!}} {{{fr}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{fr_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{de|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:de|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=de dir=ltr {{!}} {{{de}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{de_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{el|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:el|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=el dir=ltr {{!}} {{{el}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{el_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{hu|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:hu|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=hu dir=ltr {{!}} {{{hu}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{hu_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{it|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:it|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=it dir=ltr {{!}} {{{it}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{it_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{ja|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ja|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=ja dir=ltr {{!}} {{{ja}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{ja_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{ko|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ko|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=ko dir=ltr {{!}} {{{ko}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{ko_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{nl|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=nl dir=ltr {{!}} {{{nl}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{nl_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{no|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:no|{{PAGELANGUAGE}}}} | ||
{{!}} lang=no {{!}} {{{ | {{!}} lang=no dir=ltr {{!}} {{{no}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{no_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{pl|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pl|{{PAGELANGUAGE}}}} | ||
{{!}} lang=pl {{!}} {{{ | {{!}} lang=pl dir=ltr {{!}} {{{pl}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{pl_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{pt|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt|{{PAGELANGUAGE}}}} | ||
{{!}} lang=pt {{!}} {{{ | {{!}} lang=pt dir=ltr {{!}} {{{pt}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{pt_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{pt-br|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:pt-br|{{PAGELANGUAGE}}}} | ||
{{!}} lang=pt-BR {{!}} {{{ | {{!}} lang=pt-BR dir=ltr {{!}} {{{pt-br}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{pt-br_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{ro|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ro|{{PAGELANGUAGE}}}} | ||
{{!}} lang=ro {{!}} {{{ | {{!}} lang=ro dir=ltr {{!}} {{{ro}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{ro_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{ru|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:ru|{{PAGELANGUAGE}}}} | ||
{{!}} lang=ru {{!}}{{{ | {{!}} lang=ru dir=ltr {{!}}{{{ru}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{ru_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{sv|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:sv|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=sv dir=ltr {{!}} {{{sv}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{sv_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{th|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:th|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=th dir=ltr {{!}} {{{th}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{th_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{tr|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:tr|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=tr dir=ltr {{!}} {{{tr}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{tr_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{uk|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:uk|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=uk dir=ltr {{!}} {{{uk}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{uk_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{vi|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:vi|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=vi dir=ltr {{!}} {{{vi}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{vi_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{zh-hans|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hans|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=zh-Hans dir=ltr {{!}} {{{zh-hans}}} | ||
{{!}} {{{ | {{!}} style="background-color: #dee8ed;" {{!}} {{{zh-hans_m|-}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{ | {{#if: {{{zh-hant|}}} | | ||
{{!}} | {{!}} style="background-color: #f1e9cb;" {{!}} {{#language:zh-hant|{{PAGELANGUAGE}}}} | ||
{{!}} lang= | {{!}} lang=zh-Hant dir=ltr {{!}} {{{zh-hant}}} | ||
{{!}} {{{ | {{!}} 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.