Extension:Translate

Enables in-wiki localisation, proofreading and exporting of messages for MediaWiki, MediaWiki extensions and external programs. Adding new message groups is possible with  and class autoloading.

Currently supports:
 * MediaWiki MessagesXx.php (including .po export/import)
 * MediaWiki extensions (~125)
 * FreeCol

Installation

 * 1) This extension requires all (that are to be translated) MediaWiki extensions present in the extension folder.
 * 2) Add the following code to your LocalSettings.php (at the bottom)

Parameters
The available parameters, with the default value and a description.
 * Where to look for extension files.
 * Which other language translations are displayed to help translator. For example
 * Name of the fuzzer bot.
 * EC = Enabled classes.
 * Web address to the directory which contains the css file. If set to false, css is inserted inline.
 * Enables the use of message documentation in edit view. Value should be a language code of which translations are considered as documentation instead.
 * The namespaces in which the Translate extension works.
 * EC = Enabled classes.
 * Web address to the directory which contains the css file. If set to false, css is inserted inline.
 * Enables the use of message documentation in edit view. Value should be a language code of which translations are considered as documentation instead.
 * The namespaces in which the Translate extension works.
 * Enables the use of message documentation in edit view. Value should be a language code of which translations are considered as documentation instead.
 * The namespaces in which the Translate extension works.
 * The namespaces in which the Translate extension works.

Usage

 * 1) Follow Installation Instructions
 * 2) You will have a new Special Page titled "Translate"
 * 3) Users have to be a member of user group 'Translators' to enable full functionality.

Additional functionality and tools

 * Language code set in  is used for message documentation
 * CreateMessageIndex.php is used to update message index. It should be run always when messages are added, removed or renamed.
 * export.php is used for bulk export (currently only MediaWiki messages are supported)
 * fuzzy.php is used to tag changed messages that need updating
 * groupStatistics.php is used to for advanced reporting (example)
 * poimport.php is used to import a returned .po file
 * wikimedia-mostused.txt contains a list of the most used messages in Wikimedia wikis (see Most often used messages in Wikimedia)

Unsupported extensions in SVN
Please help get these extensions a more standard implementation of i18n so they can be supported in Betawiki.
 * Extension:Cite (partial support; no support for messages in cite_text, i18n messages in cite_text-xx)
 * Extension:SemanticMediaWiki (source messages in languages/SMW_Language.php, i18n messages in languages/SMW_LanguageXx.php)
 * Extension:Wikidata (App.php)
 * Extension:OmegaWiki (multiple files containing addMessage)
 * Extension:wikihiero (all messages in wh_language.php; appears to be very complex and specialised)
 * Extension:LdapAuthentication
 * Extension:JIRA
 * Extension:RDF
 * Extension:DidYouMean
 * Extension:I18nTags
 * Extension:InstantCommons
 * Extension:ImageTagging
 * Extension:OpenID (someone else is claiming to be working on this; see 7033. Working i18n reorganisation was in r28371)
 * Extension:StableVersion (outdated)
 * Extension:Tasks (outdated)
 * Extension:wikiforum (outdated)
 * Extension:catfeed (outdated)
 * Extension:interact (outdated)
 * Extension:PurgeCache (outdated)

More info

 * Production site for MediaWiki, MediaWiki extensions and FreeCol at Betawiki
 * See Extension talk:Translate and Support for Known Issues and Errors