Help:Extension:Translate/Configuration

Here is documentation how to configure the Translate extension, and wich configuration options are available.

Prerequisites

 * must be configured correctly.
 * Make sure  is not set to.

Sample configuration
A more elaborate example of a configuration for Translate extension at translatewiki.net can be found on Configuration.

User rights
Translate extension introduces new user rights:
 * right allows users to edit translations
 * right allows users to update and manage message groups with web interface
 * right allows users to import translation updates from offline tools themselves using web interface (still unstable)
 * right allows users to manage translation of content pages

Configuration variables
The following documentation is copied from  for your convenience. Configuration options change over time, so if in doubt, the documentation in your Translate.php is the best one. For the record this is for revision r83530.

Page translation
If there is a problem with namespace while translating translatable pages (symptoms: definition not shown, page title starts with colon), add these two to LocalSettings.php:

This problem occurs if something unstubs Language class very early, and because we are adding the namespace late to have them conditionally enabled.

Page translation: translated version of page is empty
The source page is too big. This starts happening with some translations if the source page size is near 50 kilobytes. Make the page shorter or increase pcre.backtrack_limit. ini_set( 'pcre.backtrack_limit', 400000 );

Fonts with PHPlot
If characters in some languages show up as boxes, first check that you have a suitable font installed. If that doesn't help, enable the font debugging log. You may need to clear your MediaWiki cache first. $wgDebugLogGroups['fcfont'] = '/path/to/writable/logfile';