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.

Translate extension is using continuous development model, which means we are not doing any releases. You should get the latest version from svn and update from time to time to get new features and bug fixes. The core functionality is pretty stable, but there may be bigger changes from time to time. We might start doing actual releases if there is enough interest.

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.