Extension:Translate

Enables in-wiki localisation, proofreading and exporting of messages for MediaWiki, MediaWiki extensions and external programs. Adding new message groups is possible with  and class autoloading.

Currently supports:
 * MediaWiki MessagesXx.php (including .po export/import)
 * MediaWiki extensions (~300)
 * Commonist (see commons:Category:Commonist)
 * FreeCol
 * FUDforum
 * MantisBT
 * Mobile Wikipedia
 * mwlib.rl (see Extension:PDF_Writer, and http://code.pediapress.com/wiki/wiki/mwlibrl)
 * NOCC (webmail client)
 * OpenLayers
 * Omegawiki vocabulary trainer
 * Wikiblame

Installation

 * 1) This extension requires all MediaWiki extensions (that are to be translated) present in the extension folder.
 * 2) In addition, $wgCacheDirectory must be set to some path where yout webserver has write access. The default value FALSE is not permitted.
 * 3) Add the following code to your LocalSettings.php (at the bottom)

A more elaborate example of a configuration for Translate can be found on betawiki:Configuration.

Parameters
The available parameters, with the default value and a description.
 * Where to look for extension files.
 * Which other language translations are displayed to help translator. For example
 * Name of the fuzzer bot.
 * Which other language translations are displayed to help translator. For example
 * Name of the fuzzer bot.
 * Name of the fuzzer bot.


 * $wgTranslateGroupStructure


 * $wgTranslateAddMWExtensionGroups


 * EC = Enabled classes.
 * Web address to the directory which contains the css file. If set to false, css is inserted inline.
 * Enables the use of message documentation in edit view. Value should be a language code of which translations are considered as documentation instead.
 * The namespaces in which the Translate extension works.
 * Enables the use of message documentation in edit view. Value should be a language code of which translations are considered as documentation instead.
 * The namespaces in which the Translate extension works.
 * The namespaces in which the Translate extension works.
 * The namespaces in which the Translate extension works.

Usage

 * 1) Follow Installation Instructions
 * 2) You will have a new Special Page titled "Translate"
 * 3) Users have to be a member of user group 'Translators' to enable full functionality.

Additional functionality and tools

 * Language code set in  is used for message documentation
 * CreateMessageIndex.php is used to update the message index. It should be run always when messages are added, removed or renamed.
 * export.php is used for bulk export (currently only MediaWiki messages are supported)
 * fuzzy.php is used to tag changed messages that need updating
 * groupStatistics.php is used to for advanced reporting (example)
 * poimport.php is used to import a returned .po file
 * wikimedia-mostused.txt contains a list of the most used messages in Wikimedia wikis (see Most often used messages in Wikimedia)

Unsupported extensions in SVN
Please help get these extensions a more standard implementation of i18n so they can be supported in translatewiki.net.
 * Extension:Cite (partial support; no support for messages in cite_text, i18n messages in cite_text-xx)
 * Extension:WikiHiero (all message in wh_language.php; appears to be very complex and specialised)

More info

 * Production site for MediaWiki, MediaWiki extensions, FreeCol, MantisBT, and more at translatewiki.net
 * See Extension talk:Translate and Support for Known Issues and Errors