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
This configuration goes to the  in the mediawiki subdirectory.

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
 * right allows users mark translations as accepted
 * group has the  right and the right to add other users to the   group
 * right allows users to change the workflow state of a group (the states are defined in the $wgTranslateWorkflowStates variable)

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 2012-01-18.

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. On some systems PHP is not allowed to access the fonts the fc-list command provides. $wgDebugLogGroups['fcfont'] = '/path/to/writable/logfile';

Translation editor dialog missing
There is a JavaScript error in the page. Check the error console of your browser.