Help:Extension:Translate/Installation

Due to the nature of rapid development of Translate extension, it requires relatively recent version of software to work. All distributions may not have stabilised such new packages to fulfill the requirements. In that case you need to download later release from mediawiki.org or from WikiMedia's Subversion repository.

Requirements
The following software is required to install this extension.
 * 1) MediaWiki 1.16 or development version (trunk)
 * 2) PHP: 5.2.x, 5.1.x may work
 * 3) PHPlot (optional) for statistics graphs
 * 4) Syck (optional) for YAML support (spyc is used if syck is not available)
 * 5) Tmserver from translatetoolkit for translation memory (optional)
 * 6) Internet access for machine translation services

In addition shell access is required to run maintenance scripts.

Getting the source
The recommended way to get Translate extension is to use svn. svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Translate
 * 1) at mediawiki extension folder

This is the suggested way, because the code is in constant change and new features and bugfixes are made often. Also, only the latest version is currently supported, due to the lack of resources. It is easy to update this way, only svn up is needed.

At this point you may also want to install other recommended extension:
 * mw:Extension:Babel – Allows user to indicate which languages they speak
 * mw:Extension:CleanChanges – Cleaner recent changes
 * mw:Extension:CLDR – localised language names in many languages

Activating the extension
After the code is put into known place, all that is needed is a line similar to this in the LocalSettings.php that lies in MediaWiki's root directory:

After that line it is possible to add configuration settings that enable new features or change the way the extension works. See Configuration how to do this.

Translate extension documentation