Extension:Google Translator

The Google Translator extension enables easy addition of a Google Translation box to a MediaWiki instance. See screenshot and Installation for details. This extension requires no Google account. This extension is based on the Google AdSense 2 extension.

Installation
* googletranslator at the position you want. Example (box will appear at top): * googletranslator * navigation ** mainpage|mainpage-description ** portal-url|portal ** currentevents-url|currentevents ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help * SEARCH * TOOLBOX * LANGUAGES
 * Download the extension (copy paste the 4 files from below)
 * Store the files in the  directory
 * Add the following line to your LocalSettings.php:
 * Default settings are to translate from English to German and French. These default values can be changed by adding the following lines in LocalSettings.php
 * Leave the list of languages between the single quotes blank to make all languages available. Example settings
 * The description (label) of the portlet can be changed in MediaWiki:Googletranslator. Defaults to "Translate".
 * When used in combination with another plugin that adds boxes to the sidebar, the order of calling the extension in the LocalSettings.php will determine the order of the extension boxes in the sidebar.
 * If the "Powered by Google Translate" spills into your page (MW 1.18.0), add the following to your MediaWiki:Common.css and force wrapping
 * If you want to hide the link that leads to the official page of google translator page, add the following to your MediaWiki:Common.css and force wrapping
 * More information, including a list of supported languages and toolbar options, is available at http://translate.google.com/translate_tools.
 * At default the extension box will show at the end of the sidebar. You can place the box at any place by edit your MediaWiki:Sidebar page, insert

Version history
Initial version
 * 0.1 (2010-06-17)
 * 0.2 (2014-12-15)
 * Removed call to wfLoadExtensionMessages; this adds support for MediaWiki versions >= 1.21.1, but removes support for MediaWiki 1.15.
 * Retrieves the Google Translate script using a protocol-relative URL for better compatibility with wikis using HTTPS.


 * 0.3 (2018-09-17)
 * Adpated to last version 1.30