Template:Translate: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(50 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Wip|[[User:Equalizer5118|Equalizer5118, an idiot who cant spel]] ([[User talk:Equalizer5118|talk]])|Currently going to be working on porting all translations to a strings subpage. This will take a while, and I will likely only start to get a lot of work done around 16:00 (UTC-7), so ''please'' do not remove this or make any edits to this page! I hate edit conflicts.}}
{{doc}}
{{lang|Template:Translate}}
<includeonly>
<includeonly><onlyinclude>{{messagebox|text={{#switch:{{{type|}}}
 
|#default = '''{{autolang|This page needs to be translated.|eo=Ĉi paĝo bezonate tradukita|vi=Cái trang này cần phải dịch.}}'''
<onlyinclude>{{metanotice
| text = {{#switch: {{{type|}}}
 
<!-- Template:Translate -->
| #default = {{#switch: {{{namespaceoverride|{{NAMESPACE}}}}}
| #default = {{Translate/strings|page 1|{{{namespace|}}}}}<br>{{Translate/strings|page 2}}<br>{{Translate/strings|page 3}}<br>{{Translate/strings|page 4}} {{Lx|Project:Alternative Languages|{{Translate/strings|page link}}}} {{Translate/strings|page tag}}


This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
| Template = {{Translate/strings|template 1}}<br>{{Translate/strings|template 2}} {{#if:{{{lang 1|}}}|{{Translate/strings|template 2.1}} <!--
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.


Also, please make sure the article tries to comply with the [[Valve Developer Community:Alternative Languages|alternate languages guide]].
-->{{translate/strings|languageSwitcher|{{{lang 1}}}}}{{#if:{{{lang 2|}}}|, {{translate/strings|languageSwitcher|{{{lang 2}}}}}{{#if:{{{lang 3|}}}|, {{translate/strings|languageSwitcher|{{{lang 3}}}}}{{#if:{{{lang 4|}}}|, {{translate/strings|languageSwitcher|{{{lang 4}}}}}{{#if:{{{lang 5}}}|, {{translate/strings|languageSwitcher|{{{lang 5}}}}} |}}|}}|}}|}}<!--


|template = '''This template needs translations.'''
-->|{{translate/strings|template 2.2}} }}<br>{{Translate/strings|template 3}} {{#if:{{{strings|}}}
| {{#switch: {{{strings}}}
| true = {{Translate/strings|template 3.1|{{{link|}}}}}
| #default = {{Translate/strings|template 3.1|{{{strings}}}}}
}}
|}} {{translate/strings|template 3.2}}<br>{{Translate/strings|template 4}} {{Lx|Project:Alternative Languages|{{Translate/strings|page link}}}}
}}
<!-- Template:Finishtranslation -->
| finish |f = {{Translate/strings|NotTranslated 1}}<br>{{Translate/strings|HelpBy}} {{Translate/strings|FinishTrans 1}}{{Translate/strings|FinishTrans 1.1}}<br>{{Translate/strings|page 3}}<br>{{Translate/strings|page 4}} {{Lx|Project:Alternative_Languages|{{translate/strings|page link}}}} {{translate/strings|page tag}}
<!-- Template:Translating -->
| translating | inprogress = {{Translate/strings|Translating}}<br>{{Translate/strings|HelpBy}} {{Translate/strings|FinishTrans 1}}{{Translate/strings|FinishTrans 1.1}}<br>{{Translate/strings|page 3}}<br>{{Translate/strings|page 4}} {{Lx|Project:Alternative Languages|{{translate/strings|page link}}}}{{translate/strings|page tag}}
<!-- Template:Machine Translation -->
| machine translation | machine | mt = {{Translate/strings|MachineTranslated}}<br>{{Translate/strings|NotRecommended}}<br>{{Translate/strings|WillBeRemoved}}<br>{{Translate/strings|page 4}} {{Lx|Project:Alternative Languages|{{Translate/strings|page link}}}} {{Translate/strings|page tag}}
<!-- Template:Updatetranslation -->
| updatetranslation | update | u = {{translate/strings|MachineTrans}}<br>{{Translate/strings|HelpBy}} {{Translate/strings|UpdateTrans 1}} {{Translate/strings|UpdateTrans 1.1}}<br>{{Translate/strings|page 4}} {{Lx|Project:Alternative Languages|{{translate/strings|page link}}}}{{translate/strings|page tag}}
}}{{#if: {{{1|}}} |<br>{{translate/strings|notes}}<br>{{{1}}}}}{{#if:{{{LBCall|}}}
| <br>This notice is put here by LanguageBar template and if you want to remove it after updating the translation you can do so on [[Template:TranslationMark/{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{base|{{LanguageBar/basepage}}}}}|this]] page.
| {{#if:{{{NonLBCall|}}}|{{Translate/nonLanguageBarCallCheck}}}} }}
| id = [[File:Info_content.png|40px|link=]]


This template does not contain translations for the {{#if:{{{langs|}}}|following languages: {{{langs}}}|most popular languages}}.
| rgb = 242, 133, 0


If you are fluent in one of these languages, please help out by translating the text inside this template. This can be done by using the {{#if:{{{strings|}}}|template's [[{{FULLPAGENAME}}/strings|/strings]] subpage or, when appropriate, the |}}{{Code|&#123;&#123;[[Template:Autocat|Autocat]]&#125;&#125;}} template where appropriate.
}}{{#if:{{{nocat|}}}||{{ACategory|To be translated}}}}</onlyinclude>


Also, please make sure that the article tries to comply with the [[Valve Developer Community:Alternative Languages|alternate languages guide]].
</includeonly>
}}


{{ #if: {{{1|}}} | The following content or section specifically needs to be translated:<br/>
[[Category:Notice templates]]
{{{1}}}}}
[[Category:Metanotice templates]]
|image = [[File:Info_content.png|40px|link=]]
[[Category:Translation templates]]
|bdcolor= #F28500
|style = border: 2px #F28500 solid;{{border-radius|10px}}
}}{{#if:{{{nocat|}}}||[[Category:To be translated]]}}</includeonly></onlyinclude>
{{doc}}
[[Category:Notice templates]][[Category:Translation templates]]

Latest revision as of 09:14, 6 April 2025

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Number of strings:23
Approximate status of translation:English (en) 100% Català (ca) 21.74% Čeština (cs) 21.74% Deutsch (de) 43.48% Español (es) 60.87% Esperanto (eo) 60.87% Français (fr) 34.78% עברית (he) 21.74% Hrvatski (hr) 100% Magyar (hu) 21.74% Italiano (it) 34.78% 日本語 (ja) 34.78% 한국어 (ko) 34.78% Ქართული (ka) 47.83% Nederlands (nl) 21.74% Norsk (no) 34.78% Polski (pl) 39.13% Português (pt) 21.74% Português do Brasil (pt-br) 100% Русский (ru) 100% Svenska (sv) 21.74% Türkçe (tr) 21.74% Українська (uk) 43.48% Tiếng Việt (vi) 43.48% 中文 (zh) 100% 中文(臺灣) (zh-tw) 21.74% 
Gnome app science.png
This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.

Usage

Todo: document all the type shortcuts

This template is used on pages that need its content to be translated.

Parameters