Help:Extension:Translate/Command line scripts/ja

''この説明文書は一部が古く、多くのスクリプトが欠落しています. ''

Translate 拡張機能は、ウェブ インターフェイスでは不可能な重い処理を容易にする多くのコマンドライン スクリプトを備えています. Each script has a  switch that shows the exact syntax and supported parameters. このページでは各スクリプトの目的の概要を記します. These scripts can be found at. If the Translate extension is installed into nonstandard location, you must define  environment variable that points to root of the MediaWiki installation.


 * export.php
 * このスクリプトはほとんどのセットアップで最も重要なスクリプトです. 翻訳されたメッセージをファイルシステムに書き出せます.  The output path structure and file formats vary between different message groups. It has   parameter, which takes a completion percentage that must be met for a language to be exported. Languages which have less than the given percentage of messages translated in a group are ignored. This switch increases the export time considerably.


 * poimport.php
 * This is a command line variant of Special:ImportTranslations, which can be used to import large changes in one go.


 * fuzzy.php
 * This script is used to mark translated outdated = fuzzying. It takes a message name and fuzzies all translations. It's the only way for old-style message groups and can also be used with new-style message groups.


 * groupStatistics.php
 * This command line script can be used to create almost any kind of completion statistics table. Special:LanguageStats shows the percentages for all groups in one language, but with this script you can make table with completion percentages in all languages for one or more message groups. You need an another script to import the script output into MediaWiki.


 * tm-export.php
 * Run this script to create and populate the translation memory. Hooks in the extension will take care of adding new translation into the translation memory database.


 * createMessageIndex.php
 * This script creates a mapping from each message key to the groups it belongs to. This information is used in many places, for example in the statistics features. Usually this task is triggered automatically. Running it manually may fix inconsistent things.