Help:Extension:Translate/Message group states/da

Denne side indeholder dokumentation for meddelelsesgruppe-statistik. Lad os forestille os, at en organisation bruger MediaWiki med Translate-udvidelse og wikien bl.a. bruges til at skrive pressemeddelelser. Hvad er arbejdsforløbet? Først skrives en pressemeddelelse i en wiki, så gøres den klar til oversættelse og dernæst inviteres oversættere til at udføre arbejdet. Når oversættelserne er klar, kan de offentliggøres andetsteds på hjemmesiden. Men hvordan ved man, når en oversættelse er klar, eller mere vigtigt hvornår den er korrekturlæst og korrigeret (se kvalitetssikring)? Hvad hvis nogen finder og løser en fejl, og den offentliggjorte version skal opdateres?

This is the use case the message group workflow feature is intended for. It lets you attach a tag to a message group indicating what state it is in, like "translating", "proofreading", "ready" or "published". This allows the different roles that work on a press release to explicitly expose the current state without the need of other communication methods. The translators can indicate when they consider their translations ready, and other translators can see what translations are already published. The translation administrator can periodically check which translations are ready and publish them, as well as update the pages that were already published. This is a workflow.

Setting up
By default, this feature is disabled. It must be set up in the wiki configuration. You need to decide what states you want to configure, and assign them colors in the hex format. In addition you can to choose the user groups that can by default change the states.

Here is a sample configuration:

Message groups can override the global workflow states and provide their own ones. They can do more granular permission control by state level. A state can only be selected by the user groups that have the specified right.

How to use


Once the configuration is set, both Special:LanguageStats and Special:MessageGroupStats will show a new column for the current state, and the tables can be sorted by state. The state can be changed in Special:Translate: just choose the group and language and you will see the state in the top corner of the message group description.

This state applies to a single language of a single message group, say the whole Italian translation of the translatable page "Fréttinga". In contrast, individual translation units can be accepted and whole translatable pages can be discouraged from further translation.

Automatiske tilstandsændringer
Siden september 2012 har Translate understøttet automatiske tilstandsændringer. For eksempel når alle beskeder er oversat, vil status ændre sig til korrekturlæsning, og når alle beskeder er blevet korrekturlæst, skifter status til klar.

The conditions for these changes are called transitions. Transitions can have zero or more conditions on the following variables: UNTRANSLATED, OUTDATED, TRANSLATED, PROOFREAD. Each variable represents the number of messages in that state. UNTRANSLATED variable includes the OUTDATED messages. Each variable can be compared to three values: ZERO, NONZERO and MAX. For example transition to ready state would have condition PROOFREAD is MAX. See code example below.