User:Danski454/translate
Appearance
Translate (source) adds a link to a version of the current page, as translated by Google Translate.
To install, add mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Danski454/translate.js&action=raw&ctype=text/javascript' );
to your global.js.
Configuration[edit]
- The target language can be changed from English by using
window.translateLang = "LANGUAGE CODE";
. - The link can be removed from wikis with a certain content language by using
window.inactiveLang = "LANGUAGE CODE";
. - The link text can be modified by using
window.translateText = "LINK TEXT";
.