Template:TranslationMark/Gameinfo.txt

From Valve Developer Community
Jump to navigation Jump to search
Gameinfo.txt

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


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

marked with {{updatetranslation}}:   Deutsch (de) Español (es) 日本語 (ja) Polski (pl) Русский (ru) 中文 (zh)

marked with {{finishtranslation}}:   Français (fr) 한국어 (ko)

marked with {{translate}}:  

marked with {{machinetranslation}}:  


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
| zh = M
}}

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


Pages like this can be quickly created using {{LanguageBar}}'s TranslationMark button Translationmark (TranslationMark) which is shown after clicking Translate (Translate) (on the top right of a page).

This page was generated using {{subst:TranslationMark|namespace=|base=Gameinfo.txt}}