Template:TranslationMark/page: Difference between revisions
No edit summary |
(Adding info about machine translation template) |
||
Line 2: | Line 2: | ||
{{back|{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}}} | {{back|{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}}} | ||
This page contains {{ParserFunction|switch}} that determines which translations of page [[:{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}]] should add either {{T|Updatetranslation}}, {{T|Finishtranslation}} or {{T| | This page contains {{ParserFunction|switch}} that determines which translations of page [[:{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}]] should add either {{T|Updatetranslation}}, {{T|Finishtranslation}}, {{T|Translate}} or {{T|Machinetranslation}} and have their flag in {{T|LanguageBar}} highlighted with orange | ||
* Following languages are marked as either needing translation update, translation or | * 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): | ||
{{LanguageBar/foreach|TranslationMark/flagline|| }} | {{LanguageBar/foreach|TranslationMark/flagline|| }} | ||
Line 23: | Line 23: | ||
| tr | uk = F | | tr | uk = F | ||
| fi = T | | fi = T | ||
| zh = M | |||
}} | }} | ||
</pre> | </pre> | ||
In this case {{code|ru}} page shows {{T|Updatetranslation}}, {{code|tr}} and {{code|uk}} page shows {{T|Finishtranslation}} and {{code|fi}} page shows {{T|Translate}} | In this case {{code|ru}} page shows {{T|Updatetranslation}}, {{code|tr}} and {{code|uk}} page shows {{T|Finishtranslation}} and {{code|fi}} page shows {{T|Translate}} and {{code|zh}} page shows {{T|Machinetranslation}} | ||
Revision as of 00:15, 7 April 2025
This page contains {{#switch}} that determines which translations of page [[:{{{1}}}:{{{2}}}]] 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):
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}} and fi page shows {{Translate}} and zh page shows {{Machinetranslation}}
Pages like this can be quickly created using {{LanguageBar}}'s TranslationMark button which is shown after clicking
(on the top right of a page).
This page was generated using {{subst:TranslationMark|namespace={{{1}}}|base={{{2}}}}}