Jump to content

Extension:AdhocTranslation

From mediawiki.org
MediaWiki extensions manual
AdhocTranslation
Release status: stable
Description Translates a wiki page directly into the user's language
Author(s) Hallo Welt! GmbH
Maintainer(s) Hallo Welt! GmbH
Latest version -
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.43 (LTS)
Licence GNU General Public License 3.0 only
Download
Translate the AdhocTranslation extension if it is available at translatewiki.net
 Community Forum

AdhocTranslation translates a wiki page directly into the user's language.

Usage / features

  • If users have set a language other than the installation language as their user language, the link "Translate to my language" appears in the toolbar.
  • After clicking the link, page content is displayed translated into the user's language.
  • After reloading the page, the original content is displayed again.
  • PDF export does not include ad-hoc translation and is only available in the original source language.

Configuration

The DeepL API can be provided under the feature "System" in the ConfigManager .

Configuration settings in the ConfigManager


Installation

.git) as a "vcs repository" and the package name (mediawiki/AdhocTranslation) and version to the require section of your composer.local.json. Example:

{
	"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/wikimedia/mediawiki-extensions-AdhocTranslation
.git"
		}
	],
	"require": {
		"mediawiki/AdhocTranslation": "AdhocTranslation"
	}
}
  • Run the following command in your MediaWiki installation path
composer update --no-dev
wfLoadExtension( 'AdhocTranslation' );
  • Yes Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Bluespice icon

This extension was originally made for BlueSpice . BlueSpice is a MediaWiki distribution for enterprises and organizations. It enhances MediaWiki, in particular in the areas of quality management, process support, administration, editing and security. This extension is bundled with BlueSpice pro.

BlueSpice: