Documentation for Extension:Translate
Translators (main help page)
Sysadmins and developers
The Translate extension, due to its nature of rapid development, requires a relatively recent version of MediaWiki to work. The aim is to support the development version and the two latest stable versions of MediaWiki. In package managers, the version may be too old to fulfill the requirements. In that case you need to download a newer release from mediawiki.org or from Wikimedia's Git repository.
The Translate extension uses a continuous development model, which means that latest version should never be totally broken, because all commits to Translate extension are peer reviewed and pass unit tests. The core functionality is pretty stable, but there may be bigger changes from time to time.
The following software is required to install this extension:
- Recent version of MediaWiki
- MySQL database – SQLite (experimental)
- Universal Language Selector extension (included in MediaWiki Language Extension Bundle)
- (optional) PHPlot for statistics graphs
- (optional) Syck or phpyaml for faster and better YAML parsing and generation
- (optional) ElasticSearch for advanced search features and translation memory
- (optional) Internet access on the server for machine translation services
Note: PHP must be installed with the curl module to allow for the translation suggestion feature.
MediaWiki needs to have the job queue set up correctly. If your job queue is not processed, nothing will work in Translate.
In addition, shell access is required to run maintenance scripts.
The use of memcached for caching and for example APC PHP accelerator is recommended in a production environment.
See MediaWiki Language Extension Bundle for download links and instructions. The bundle includes a couple of more extensions commonly used together with Translate extension. It also includes an useful default configuration to get you started.
There are many configuration settings that enable new features or change the way the extension works. See Configuration for a description of these settings.