Fandom

Wikia Developers Wiki

Translator

859pages on
this wiki
Add New Page
Talk8 Share

Translator is a script for translating the content of pages between languages. It adds another button near the "edit" button, that when pressed, loads Google Translate. It automatically loads the content of the page as the text being translated, with the language being translated from being the default system language, and the language being translated into being the user's default language.

It was initially designed by Deadcoder for the Code Lyoko Wiki's ESL population.

Installation Instructions

Wiki-Wide

  1. Add the following to your MediaWiki:Common.js:
    importScriptPage('MediaWiki:Translator/Translator.js', 'dev');
  2. Wait up to half an hour for all the caching problems to be dealt with.
  3. Click the New Page button to ensure that the feature was installed correctly. If it was not, describe the failure on this page in the "Known Problems" section with extreme detail. If it was installed correctly, enjoy.

User-Specific

  1. Add the following to your global.js
importScriptPage('MediaWiki:Translator/Translator.js', 'dev');
  1. Wait up to half an hour for all the caching problems to be dealt with.
  2. Click the New Page button to ensure that the feature was installed correctly. If it was not, describe the failure on this page in the "Known Problems" section with extreme detail. If it was installed correctly, enjoy.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.