Help:Extension:Translate/Message group states/ja

このページは、メッセージ群のワークフローの状態の説明文書です. ある団体が MediaWiki の Translate 拡張機能を使って、記者発表資料を翻訳していたと仮定します. どんな使い方をするでしょうか？ まずウィキ上に記者発表資料を入力し、翻訳可能のフラグを付けて翻訳者に作業を呼びかけるでしょう. 翻訳が完了するとウェブサイト上のどこにでも公開できるものの、翻訳や、もっと重要な査読や訂正がいつほんとうに完了するか把握できるでしょうか？（品質の保証を参照）公表後、もし誤りが見つかって訂正されると、ウェブサイトも更新が必要でしょうか？

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.

セットアップ
既定では、この機能は無効になっています. 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 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.

使用方法


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.

進捗状況の自動変更
Since September 2012 Translate supports automatic state changes. For example, when all the messages are translated, the state changes itself to proofreading, and when all messages have been proofread, the state changes to ready.

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.

The state of a language of a message group will be updated whenever a translation is changed or reviewed in that language. The state transitions are matched in the declaration order. All conditions must be fulfilled for the transition to match. If no transition matches, the message group will keep its existing state.