User:Cacycle/wikEd international: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
Olliminatore (talk | contribs) |
||
Line 19: | Line 19: | ||
* English: [[en:User:Cacycle/wikEd_international_en.js]], example and starting point for translations (address: ''<nowiki>http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js</nowiki>'') |
* English: [[en:User:Cacycle/wikEd_international_en.js]], example and starting point for translations (address: ''<nowiki>http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js</nowiki>'') |
||
* German: [[:en:User:Olliminatore/wikEd_international_de]] (first version, open for edit, maybe need improvement) (address: ''<nowiki>http://en.wikipedia.org/enwiki/w/index.php?title=User::Olliminatore/wikEd_international_de</nowiki>'') |
|||
== Translation instructions == |
== Translation instructions == |
Revision as of 12:07, 28 November 2006
This page explains how to translate and install the MediaWiki editing page extension wikEd.
Installation
1. 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=User:Cacycle/wikEd_international_en.js' + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
2. Replace http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js with the address of your translation page, see below for a list of existing ones.
3. Click Shift-Reload or press Shift-Ctrl-R to update.
List of existing translations
- English: en:User:Cacycle/wikEd_international_en.js, example and starting point for translations (address: http://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd_international_en.js)
- German: en:User:Olliminatore/wikEd_international_de (first version, open for edit, maybe need improvement) (address: http://en.wikipedia.org/enwiki/w/index.php?title=User::Olliminatore/wikEd_international_de)
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.