User:Cacycle/wikEd international
From Wikipedia, the free encyclopedia
wikEd: Home · Discussion · Help |
Installation: Installation · Customization · Images |
Project: User box · userscripts.org · Navigation box · Testimonials |
Development: Current version · Version log · Documentation · Developer discussion |
Program code: wikEd · Greasemonkey bundle · diff · wikEdDiff · InstaView · Installation template |
Gadget: Description · Code · Version |
Translations: Guide · Example · Arabic · Chinese · Czech · Dutch · Esperanto · French · German · Hungarian · Italian · Japanese · Norwegian · New Norwegian · Polish · Portuguese · Romanian · Sicilian · Slovak · Slovenian · Spanish · Swedish · Vietnamese |
This page explains how to translate and install the MediaWiki editing page extension wikEd.
Contents |
[edit] List of existing translations
- English: User:Cacycle/wikEd_international_en.js, example and starting point for translations
- Arabic: User:ترجمان05/wikEd international ar.js, translated by ترجمان05 (en: ترجمان05)
- Chinese: User:Shibo77/wikEd_international_zh.js, translated by Shibo77 (en: Shibo77)
- Czech: User:Sevela.p/wikEd_international_cs.js, translated by Sevela.p (en: Sevela.p)
- Esperanto: User:ArnoLagrange/wikEd-eo.js, translated by Tlustulimu (en: User:Tlustulimu) and Arno Lagrange
- French: User:Leag/wikEd-fr.js, main page, help page, translated by Leag (en: Leag)
- German: User:Olliminatore/wikEd international de.js, translated by Olliminatore (en: Olliminatore)
- Hungarian: User:Csörföly D/wikEd-hu.js, translated by Csörföly D (en: Csörföly D)
- Italian: User:Jalo/wikEd international_it.js, main page, help page, translated by Jalo (en: Jalo)
- Japanese: User:Hatukanezumi/wikEd_international_ja.js, translated by Hatukanezumi (en: Hatukanezumi)
- Norwegian: User:Dvyjones/wikEd_international_no.js. Translated by Dvyjones (en: Dvyjones)
- New Norwegian: User:Frokor/wikEd international nn.js. Translated by Froko (en: Frokor)
- Polish: User:Konradek/wikEd international pl.js, translated by konradek (en: konradek)
- Portuguese: User:Mosca2/wikEd international pt.js, translated by Mosca (en: Mosca2)
- Romanian: User:Roamataa/wikEd international ro.js, translated by Roamataa (en: User:Roamataa)
- Sicilian: User:Meloscn/wikEd international scn.js, translated by Melos (en: Meloscn)
- Slovak: User:Helix84/wikEd_international_sk.js, translated by Helix84 (en: Helix84)
- Slovenian: User:Eleassar/wikEd_international_sl.js, translated by Eleassar (en: Eleassar)
- Spanish: User:Axelei/wikEd_international_es.js, translated by Krusher (en: Axelei)
- Swedish: User:Where next Columbus?/wikEd_international_sv.js, translated by Where next Columbus? (en: Where next Columbus?)
- Vietnamese: User:Vinhtantran/wikEd_international_vi.js, translated by Trần Vĩnh Tân (en: Vinhtantran)
[edit] Installation
- Add one of the following code fragments to your User:YourUsername/monobook.js (English Wikipedia) or the respective language-specific page name. If you use another skin then you have to replace monobook.js — e.g. by classic.js if you use the Classic skin. The code must be placed before the wikEd installation block.
- Click Shift-Reload or press Shift-Ctrl-R to update.
[edit] Arabic
ِArabic Wikipedia monobook.js page: User:YourUsername/monobook.js
// install the Arabic translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:ترجمان05/wikEd international ar.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Chinese
Chinese Wikipedia monobook.js page: User:YourUsername/monobook.js
// install the Chinese translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Shibo77/wikEd_international_zh.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Czech
Czech Wikipedia monobook.js page: Wikipedista:YourUsername/monobook.js
// install the Czech translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Sevela.p/wikEd_international_cs.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Esperanto
Esperanto Wikipedia monobook.js page: Vikipediisto:YourUsername/monobook.js
// install the Esperanto translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:ArnoLagrange/wikEd-eo.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] French
French Wikipedia monobook.js page: Utilisateur:YourUsername/monobook.js
// install the French translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Leag/wikEd-fr.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] German
In the German Wikipedia go to your preferences at de:Spezial:Einstellungen, switch to the "Gadgets" tab, activate in the "Bearbeitungswerkzeuge" section the "wikEd" entry and press "Einstellungen speichern". This and other tools are provided in the German Wikipedia by the gadgets extension.
As long as the gadgets extension is not installed in other Wikimedia wikis add the following code to your Benutzer:YourUsername/monobook.js page for the German wikEd interface:
// install the German translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Olliminatore/wikEd_international_de.js' + '&action=raw&ctype=text/javascript"><\/script>');
[edit] Hungarian
Hungarian Wikipedia monobook.js page: User:YourUsername/monobook.js
// install the Hungarian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Cs%C3%B6rf%C3%B6ly_D/wikEd-hu.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Italian
Italian Wikipedia monobook.js page: Utente:YourUsername/monobook.js
// install the Italian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Jalo/wikEd international_it.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Japanese
Japanese Wikipedia monobook.js page: 利用者:自分のユーザ名/monobook.js
// install the Japanese translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Hatukanezumi/wikEd_international_ja.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Norwegian
Norwegian Wikipedia monobook.js page: Bruker:YourUsername/monobook.js
// install the Norwegian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Dvyjones/wikEd_international_no.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] New Norwegian
New Norwegian Wikipedia monobook.js page: Brukar:Brukarnamnetditt/monobook.js
// install the New Norwegian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Frokor/wikEd international nn.js. ' + '&action=raw&ctype=text/javascript"></script>');
[edit] Polish
Polish Wikipedia monobook.js page: Wikipedysta:YourUsername/monobook.js
// install the Polish translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Konradek/wikEd_international_pl.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Portuguese
Portuguese Wikipedia monobook.js page: Usuário:YourUsername/monobook.js
// install the Portuguese translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Mosca2/wikEd_international_pt.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Romanian
Romanian Wikipedia monobook.js page: Utilizator:YourUsername/monobook.js
// install the Romanian translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Roamataa/wikEd international ro.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Sicilian
Sicilian Wikipedia monobook.js page: Utenti:YourUsername/monobook.js
// install the Sicilian translation for [[en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Meloscn/wikEd_international_scn.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Slovak
Slovak Wikipedia monobook.js page: Redaktor:YourUsername/monobook.js
// install the Slovak translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Helix84/wikEd_international_sk.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Slovenian
Slovenian Wikipedia monobook.js page: Uporabniški pogovor:YourUsername/monobook.js
// install the Slovenian translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Eleassar/wikEd_international_sl.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Spanish
Spanish Wikipedia monobook.js page: Usuario:YourUsername/monobook.js
// install the Spanish translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Axelei/wikEd_international_es.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Swedish
Swedish Wikipedia monobook.js page: Användare:YourUsername/monobook.js
// install the Swedish translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Where_next_Columbus%3F/wikEd_international_sv.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Vietnamese
Vietnamese Wikipedia monobook.js page: Thành viên:YourUsername/monobook.js
// install the Vietnamese translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:Vinhtantran/wikEd_international_vi.js' + '&action=raw&ctype=text/javascript"></script>');
[edit] Translation guide
- Copy the English example translation from User:Cacycle/wikEd_international_en.js.
- Please do not translate the comment lines starting with "//" in order to make maintenance easier.
- The first string is the internal text name and must not be changed.
- The second string after the colon is the text to be translated.
- The button alt text is displayed only when the button images are not available, it should be as short as possible.
- The button title text is the popup tooltip text hat appears upon hovering over a button.
- Every line beside the last one ends with a comma.
- Every ' character has to be written as \'.
- Do not change the {wikEd...} parts as these are dynamically replaced.
- Missing translations are displayed in their English built-in version.
- Save the translation under the following link: User:YourUsername/wikEd_international_xx.js (replace xx by the language code of your translation). If you do not already have a user account on the English Wikipedia please create one. It is essential that the translation page name is in your personal userspace and ends in .js for security reasons so that only you and administrators can edit it. For the same reason you must use a strong password for your account.
- Load your translation into wikEd by adding the following code to your User:YourUsername/monobook.js (or whatever skin used) page:
// install the (Language) translation for [[:en:User:Cacycle/wikEd]] document.write('<script type="text/javascript" src="' + 'http://en.wikipedia.org/w/index.php?title=User:YourUsername/wikEd_international_xx.js' + '&action=raw&ctype=text/javascript"></script>');
-
- Replace User:YourUsername/wikEd_international_xx.js by the actual page name of the translation (or replace the whole web address if your translation is not on Wikipedia).
- 4. Update your installation by pressing Shift-Reload.
- 5. Check for JavaScript errors in your browser's error console (under Tools). Commonly, errors are caused by missing or wrong commas, semicolons, or parentheses.
[edit] Updates and changes
Usually Cacycle will add changes directly to the translation in English so that you can update your translation.
[edit] AutoWikiBrowser RegExTypoFixer
Common typos can be fixed using AutoWikiBrowser RegExTypoFix rules. wikEd uses the English RegExTypoFix rules by default. To enable the feature and to switch to a different translation add the following lines to your monobook.js page before the wikEd installation code and change the address:
var wikEdRegExTypoFix = true; var wikEdRegExTypoFixURL = 'http://en.wikipedia.org/w/index.php?title=Wikipedia:AutoWikiBrowser/Typos&action=raw';