https://meta.wikimedia.org/wiki/User:Mr._Ibrahem/ArticleTranslator_2026.js
Based on https://en.wikipedia.org/wiki/User:Ebrahim/ArticleTranslator.js
To install the ArticleTranslator, add the following code to your global.js:
window.articleTranslatorConf = {
homeWiki: 'ar',
//translatorBarFormat: '$1 ترجم $2 من $3 إلى $4 $5',
translatorBarFormat: '$1 ‏ ترجم‏ $2 ‏من ‏$3 ‏إلى ‏$4 ‏$5‏',
templateTranslatorText: 'ترجم القوالب',
removeLinksAliasesText: 'إزالة الأسماء المستعارة',
};
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Mr. Ibrahem/ArticleTranslator_2026.js&action=raw&ctype=text/javascript');You can customize the translator by setting the following options in window.articleTranslatorConf:
| Option | Default | Description |
|---|---|---|
homeWiki |
'ar' |
Target wiki language code |
fromLang |
Page content language | Source language code |
translatorBarFormat |
'$1translate$2 links from $3 to $4 $5' |
Format string for the translator bar |
templateTranslatorText |
'Template translation' |
Label for template translation checkbox |
removeLinksAliasesText |
'Remove Links Aliases' |
Label for remove aliases checkbox |
removeUntranslatedLinksText |
'Remove untranslated links' |
Label for remove untranslated links checkbox |
enableTemplateTranslation |
true |
Enable template name translation |
removeLinksAliases |
true |
Remove link aliases after translation |
removeUntranslatedLinks |
false |
Remove links that couldn't be translated |
showSpeechButton |
false |
Show speech synthesis button (English pages only) |
showForvoLink |
false |
Show Forvo pronunciation link (English pages only) |