Wikipedia:Tools/Navigation popups/Translation
Appearance

The user interface of the navigation popups script can be translated to most languages by copying and translating a file of text strings. Alternatively, the complete script can be translated.
Instructions for translating the string file plus a list of existing translations are given here. If you have translated the string file, the script or the instruction page to some language, please add it to the list below.
Instructions for translation of string file
- Copy the file User:Lupin/strings-draft to a .js file in your user space at a local wiki.
- Translate the strings on the righthand side of each assignment. An assignment looks like this:
'string1': 'string2',
- You should leave
'string1'
unchanged and translate'string2'
. Any apostrophes in'string2'
should be backslash-escaped, for example'L\'article'
. Be sure to leave the comma at the end of the line unchanged.
- Strings with one or more
%s
get arguments from the script, e.g. article name or user name. These%s
-es are included in string2 in the same order as in string1. If you want a different order, you can instead refer to the arguments as$1, $2, $3,
etc.
- From your skin .js file, e.g. monobook.js, load your translation .js file as well as popups.js or popupsdev.js (see here for description of the two), using code similar to this:
document.write('<script type="text/javascript" src="'
+ 'http://no.wikipedia.org/w/index.php?title=User:Eddideigel/strings-no.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
- Kindly include your translation in the list below. To keep the translation updated, you must watch the file that you copied, and change your file according to changes in the original, e.g. new strings or changes in syntax.
- If there's a string that is not included in the file, please drop a note at
User talk:LupinWikipedia talk:Tools/Navigation popups. These strings can be changed if they're difficult to translate to more flexible versions.
List of existing translations
Translation of string file for any version since 23-Feb-2006
Please list translations like this:
* Language: [[:interwikicode:User:username/filename.js]]
- Albanian: sq:User:Eagleal/strings-sq.js
- Arabic: ar:User:Mohammed Khalil/popups.js
- Bosnian: Radionica/prevod.js
- Catalan: ca:User:SMP/strings-ca.js
- Danish: da:Bruger:Barklund/strings-da.js
- Dutch: nl:User:Edwtie/strings-nl.js
- English original: en:User:Lupin/strings-draft
- Esperanto: eo:Vikipediisto:ArnoLagrange/popups-strings-eo.js
- Finnish: fi:User:Joku Janne/popups-fi.js (completed) and fi:User:Kahkonen/strings-fi.js (not ready)
- French: fr:User:Leag/popups-strings-fr.js
- German: de:MediaWiki:Gadget-navigation-popups.js/de (complete), old version de:Benutzer:Liberal Freemason/strings-de.js (not perfect, but usable)
- Hebrew: he:משתמש:נתנאל בר-אור ל/popups-strings-he.js
- Hungarian hu:User:Bdamokos/strings-hu.js
- Icelandic: is:User:Jóna Þórunn/strings-is.js
- Indonesian: id:Wikipedia:Peralatan/popups-id.js
- Italian: it:User:Emc2/strings-it.js
- Korean: ko:User:Dus2000/string-navpop.js (Not 100%, but enough to be used)
- Latvian: lv:User:Juzeris/popups-strings-lv.js
- Norwegian (Bokmål): no:User:Eddideigel/strings-no.js
- Norwegian (Nynorsk): nn:User:Eddideigel/strings-nn.js
- Portuguese (Português): pt:Usuário:João Sousa/strings-pt.js (should be ok, not fully tested)
- Romanian (Română): ro:Utilizator:Firilacroco/popups.js
- Russian: ru:User:Lockal/strings-ru.js
- Slovak: sk:User:Jsimlo/popups.js
- Slovene: sl:Uporabnik:Eleassar/popupstrings-sl.js
- Spanish: es:MediaWiki:Gadget-popups-es.js
- Swedish: sv:Användare:Where next Columbus?/strings-sv.js (based on Smartskaft's translation)
- Tamil: ta:பயனர்:Vinodh.vinodh/popupsta.js
- Vietnamese: vi:User:Vinhtantran/strings-vi.js
Translation of complete script, locked to specific versions
Please list translations like this:
* Language: script version: [[:interwikicode:namespace:filename.js]]
- Chinese: popups.js (Wed Jan 4 17:14:42 EST 2006): zh:User:Vipuser/popups.js
- English: popups.js (current): en:User:Lupin/popups.js
- English: popupsdev.js (current): en:User:Lupin/popupsdev.js
- Farsi: popups.js (Sat Feb 4 12:06:55 EST 2006): fa:User:Yoosef Pooranvary/popups.js
- Hebrew: popups.js (Sun Dec 11 13:15:25 EST 2005): en:User:Avichai/popups.js
- Korean : popups.js (Fri Jun 1 10:01:00 EST 2006): ko:User:Alpha for knowledge/popups.js
- Polish (polski): popups.js (Sat Mar 10 21:40:16 UTC 2007): pl:Wikipedysta:Nux/popups.pl.js
- Romanian (Română): popups.js (Sun Mar 30 14:03:00 UTC 2008): ro:Utilizator:Firilacroco/popups.js
Translation of instruction pages
Please list translations like this:
* Language: [[:interwikicode:Wikipedia:pagename]]
- Catalan ca:Viquipèdia:Finestres emergents de navegació
- Chinese: zh:Wikipedia:辅助工具/popups
- English original: en:Wikipedia:Tools/Navigation popups
- French: fr:Utilisateur:Leag/Navigation popups
- German: de:Wikipedia:Helferlein/Navigation-Popups
- Hungarian: hu:Wikipédia:Látszer - not complete, eg. the configuration part is not translated
- Icelandic: is:Wikipedia:Blöðruflakk
- Italian: it:Wikipedia:Popup di navigazione
- Japanese: ja:Wikipedia:ツール/ナビゲーション・ポップアップ
- Latvian: lv:Wikipedia:Navigācijas baloni
- Norwegian (bokmål): no:Wikipedia:Ballongnavigasjon
- Norwegian (nynorsk): nn:Wikipedia:Ballongnavigasjon
- Polish: pl:Wikipedia:Narzędzia/Navigation popups
- Portuguese: pt:Wikipedia:Software/Popups de navegação
- Russian: ru:Википедия:Проект:Персональные скрипты/Навигации
- Slovak: sk:Wikipédia:Nástroje/Navigačné vyskakovacie okná
- Spanish: es:Wikipedia:Botonera