![]() Release status: beta |
|
---|---|
Description | Helps you translate your wiki to other languages |
Author(s) | Nischay Nahata, wikiworks.com (Nischayn22talk) |
Latest version | 1.0 (August 2018) |
MediaWiki | 1.25+ |
PHP | 5.3+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
Parameters
|
|
The TranslateWiki extension lets you translate your wiki to multiple other languages with the help of Google Translate. You can translate the entire wiki using Google Translate, then manually correct the translations and finally create/update a wiki in another language using extension Extension:Sync
Installation and Configuration
- Add the following to your wiki's composer.local.json's "require" section:
"google/cloud-translate": "^1.2",
- Now run:
composer update
- Download and place the file(s) in a directory called
TranslateWiki
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'TranslateWiki' ); $wgTranslateWikiGtProjectId= 'xyz'; $wgTranslateWikiLanguages = array( 'hi', 'he' );
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Features
- Maintenance Script to translate entire pages in specified namespaces using Google Translate.
- Edit and approve automated translations manually using a special page Special:ApproveTranslations.
- Creating a multilingual wiki using Extension:Sync
Screenshots

See a list of pages

Select a page for Approvals

Compare wikitext in both languages, edit and approve translations.
Development and Help
Please contact the author for consulting on further developments, feature requests or bug fixes on this extension.
See also
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.