Template:Translate: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Page section now uses strings. Still working on template section)
mNo edit summary
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.}}
<noinclude>{{ModernTodo|Make a languageSwitcher on the /strings page for the {{param|langs}} parameter}}
<includeonly><onlyinclude>{{messagebox|text={{#switch:{{{type|}}}
<includeonly><onlyinclude>{{messagebox|text={{#switch:{{{type|}}}
|#default = {{Translate/strings|page 1 en}}{{Translate/strings|page 1}}<br>{{Translate/strings|page 2}}<br>{{Translate/strings|page 3}}<br>{{Translate/strings|page 4}}[[Valve Developer Community:Alternative Languages|{{Translate/strings|page link}}]] {{Translate/strings|page tag}}
|#default = {{Translate/strings|page 1 en}}{{Translate/strings|page 1}}<br>{{Translate/strings|page 2}}<br>{{Translate/strings|page 3}}<br>{{Translate/strings|page 4}}[[Valve Developer Community:Alternative Languages|{{Translate/strings|page link}}]] {{Translate/strings|page tag}}


|template = '''This template needs translations.'''
|template = {{Translate/strings|template 1 en}}{{Translate/strings|template 1}}<br>{{Translate/strings|template 2}} {{#if:{{{langs|}}}|{{Translate/strings|template 2.1}} {{{langs}}}|{{translate/strings|template 2.2}} }}<br>{{Translate/strings|template 3}} {{#if:{{{strings|}}}|{{Translate/strings|template 3.1}}|{{translate/strings|template 3.2}} }}<br>{{Translate/strings|template 4}} [[Valve Developer Community:Alternative Languages|{{Translate/strings|page link}}]]
 
This template does not contain translations for the {{#if:{{{langs|}}}|following languages: {{{langs}}}|most popular languages}}.
 
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.
 
Also, please make sure that the article tries to comply with the [[Valve Developer Community:Alternative Languages|alternate languages guide]].
}}
}}



Revision as of 13:56, 9 May 2023

Template:ModernTodo

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