Help:Extension:Translate/Installation

From MediaWiki.org
Jump to: navigation, search

Other languages:
العربية • ‎বাংলা • ‎català • ‎čeština • ‎dansk • ‎Deutsch • ‎Deutsch (Sie-Form)‎ • ‎Zazaki • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎Lëtzebuergesch • ‎lietuvių • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎slovenčina • ‎svenska • ‎Kiswahili • ‎Türkçe • ‎українська • ‎中文

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.

Requirements

The following software is required to install this extension:

  1. Recent version of MediaWiki
  2. MySQL database – SQLite (experimental)
  3. Universal Language Selector extension (included in MediaWiki Language Extension Bundle)
  4. (optional) PHPlot for statistics graphs
  5. (optional) Syck or phpyaml for faster and better YAML parsing and generation
  6. (optional) ElasticSearch for advanced search features and translation memory
  7. (optional) Internet access on the server for machine translation services

Note 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.

Installation instructions

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.