Template:TranslationMark/Source

From Valve Developer Community
Jump to: navigation, search
Source

This page contains {{#switch}} that determines which translations of page Source should add either {{Updatetranslation}}, {{Finishtranslation}} or {{Translate}} and have their flag in {{LanguageBar}} highlighted with orange


  • Following languages are marked as either needing translation update, translation or finishing a translation (the flags are also cache purge links to the respective pages):

  Deutsch (de) Español (es) Français (fr) Hrvatski (hr) Polski (pl) Português do Brasil (pt-br) Русский (ru) Tiếng Việt (vi) 中文 (zh)


After you click edit you can see a #switch that looks something like this

{{#switch: {{{1}}}
| ru | tr | uk = U
}}

Switch like that means that ru, tr and uk translated pages will show {{Updatetranslation}} at the top.

There are more options. Example:

{{#switch: {{{1}}}
| ru = U
| tr | uk = F
| fi = T
}}

In this case ru page shows {{Updatetranslation}}, tr and uk page shows {{Finishtranslation}} and fi page shows {{Translate}}


Pages like this can be quickly created using {{LanguageBar}}'s white flag button (on the top right of a page).

This page was generated using {{subst:TranslationMark|namespace=|base=Source}}