Extension Localisation Wiki using Translate/Installation
From MediaWiki.org
The wiki will be running the latest copy of MediaWiki, and be updated on a regular basis. This is to help ensure full compatibility with the Translate extension (which is developed with trunk in mind, being as translatewiki.net runs on it) and also enable more features to be available.
Contents |
[edit] MediaWiki
If you are not using the Wikiation installer setting up a wiki via the standard procedure would suffice. We use the latest version of MediaWiki because it is most compatible with the Translate extension. The documentation below can be followed if you are using the Wikiation installer environment.
[edit] Wikiation Testing Environment
For this wiki the software is installed using the wikiation_installer, which is documented properly elsewhere - but in essence the following commands were issued.
- wikiation_installer
- install latest as w
- quit
[edit] CLDR
As a prerequisite to installing the Translate extension, the CLDR extension is installed. It uses a repository from Unicode, and amongst other things provides the translation of language names in many different languages.
- cd /var/www/revisions/w/extensions/
- svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/cldr/
The following would then be added to LocalSettings.php.
require_once $IP . '/extensions/cldr/LanguageNames.php';
[edit] Translate
The Translate extension is the primary focus of the wiki and will be used to carry out the majority of work.
Then the extension must be enabled in LocalSettings.php.
require_once $IP . '/extensions/Translate/Translate.php';
More configuration will be necessary, but this is not discussed at this point.