Help:Extension:Translate/Configuration

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

Sample configuration
This configuration goes to the  in the mediawiki directory.

User rights
Translate extension introduces new user rights:

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 2013-03-13.

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.

Translation page is empty or error 'Unbalanced tag' shown
Provided that the closing tag exists, 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 by setting ini_set( 'pcre.backtrack_limit', 400000 ); in LocalSettings.php or pcre.backtrack_limit=400000 in your PHP configuration (php.ini).

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';

In TUX mode (the new UI) no messages are shown
If you have overridden, make sure task   is not excluded from it.