Extension:AdhocTranslation
Appearance
| This extension is mainly supported in an external venue: BlueSpice Community Forum. If you need help, you should post there, and not on the talk page. |
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 | |
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.

Installation
- Add the repo url (https://github.com/wikimedia/mediawiki-extensions-AdhocTranslation
.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
- Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'AdhocTranslation' );
Done Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
External Links
Categories:
- Stable extensions/en
- Extensions with invalid or missing type/en
- BeforePageDisplay extensions/en
- BlueSpiceDiscoveryTemplateDataProviderAfterInit extensions/en
- SkinTemplateNavigation::Universal extensions/en
- GPL licensed extensions/en
- Extensions in Wikimedia version control/en
- All extensions/en
- Extensions by HalloWelt/en
- BlueSpice/en

