Jump to content

User:Cacycle/wikEd international: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 28: Line 28:


* English: [[en:User:Cacycle/wikEd_international_en.js]], example and starting point for translations
* English: [[en:User:Cacycle/wikEd_international_en.js]], example and starting point for translations
* German: [[:de:User:Olliminatore/wikEd_international_de]], open for edit, might need improvement. Translated by [[:de:Benutzer:Olliminatore|Olliminatore]].
* German: [[:de:User:Olliminatore/wikEd_international_de]], open for edit. Translated by [[:de:Benutzer:Olliminatore|Olliminatore]].
* Portuguese: [[:pt:Wikipedia:Software/Scripts/wikEd/tradução]], open for edit, might need some improvements. Translated by [[:pt:Usu%C3%A1rio:Mosca|Mosca]].
* Portuguese: [[:pt:Wikipedia:Software/Scripts/wikEd/tradução]], open for edit. Translated by [[:pt:Usu%C3%A1rio:Mosca|Mosca]].
* Slovenian: [[:sl:Uporabnik:Eleassar/wikEd_international_sl.js]], open for edit to admins, might need improvement. Please feel free to contact me at [[:sl:Uporabniški pogovor:Eleassar]].
* Slovenian: [[:sl:Uporabnik:Eleassar/wikEd_international_sl.js]], open for edit by admins, please feel free to contact [[:sl:Uporabniški pogovor:Eleassar|Eleassar]]. Translated by [[:sl:Uporabniški:Eleassar|Eleassar]].


== Translation instructions ==
== Translation instructions ==

Revision as of 05:40, 27 January 2007

This page explains how to translate and install the MediaWiki editing page extension wikEd.

Installation

  1. 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.
  2. Click Shift-Reload or press Shift-Ctrl-R to update.

German

German Wikipedia page: Benutzer:YourUsername/monobook.js

// install the German translation for [[User:Cacycle/wikEd]]
document.write('<script type="text/javascript" src="'
 + 'http://de.wikipedia.org/enwiki/w/index.php?title=Benutzer:Olliminatore/wikEd_international_de'
 + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Portuguese

Portuguese Wikipedia page: Usuário:YourUsername/monobook.js

 document.write('<script type="text/javascript" src="'
 + 'http://pt.wikipedia.org/enwiki/w/index.php?title=Wikipedia:Software/Scripts/wikEd.js'
 + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

List of existing translations

Translation instructions

Copy the English example translation from User:Cacycle/wikEd_international_en.js.

  • 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 your translation as a subpage in your personal name space and add it to the list of existing translations above. Do not let the page name end in ".js" if the page should be open for editing by other users.

To load your translation into wikEd you have to add the following code to your User:YourUsername/monobook.js (or whatever skin used) page:

// install a [[User:Cacycle/wikEd international]] translation
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/enwiki/w/index.php?title=TRANSLATION-PAGE'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

Replace TRANSLATION-PAGE by the Wikipedia article name of your translation (or replace the whole web address if your translation is not on Wikipedia).