Wikipedia:Tools/Navigation popups/Translation
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
edit- 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 using code similar to this:
mw.loader.load( 'https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_popups&only=scripts' );
- 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
editThis Wikipedia page needs to be updated. Please help update this Wikipedia page to reflect recent events or newly available information. Relevant discussion may be found on the talk page. |
Translation of string file for any version since 23-Feb-2006
editPlease list translations like this:
* Language: [[:interwikicode:User:username/filename.js]]
- Afrikaans: af:MediaWiki:Gadget-popups-af.js
- Albanian: sq:User:Eagleal/strings-sq.js
- Arabic: ar:User:Mohammed Khalil/popups.js
- Bengali: bn:ব্যবহারকারী:Aftabuzzaman/Gadget-popups-translation.js
- Bosnian: bs:User:Edinwiki/js/gadget-navigation-popups.js
- Breton: br:Implijer:VIGNERON/popups-strings-br.js
- Catalan: ca:User:SMP/strings-ca.js
- Central Kurdish (کوردیی ناوەندی): ckb:میدیاویکی:Gadget-popups.js/ckb-translation.js
- Chinese Simplified: m:User:Catbarking/strings-zh-hans.js (based on zh:MediaWiki:Gadget-popups.js)
- Chinese Traditional: m:User:Catbarking/strings-zh-hant.js (based on zh:MediaWiki:Gadget-popups.js)
- Croatian: hr:MediaWiki:Gadget-popups-hr.js
- Czech: cs:User:Kuvaly/strings-cs.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
- Galician: gl:Usuario:Toliño/strings-gl.js
- Georgian: ka:User:ITshnik/strings-ka.js
- German: de:MediaWiki:Gadget-navigation-popups/de.js (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
- Ilokano: ilo:Agar-aramat:Lam-ang/strings-ilo.js
- Indonesian: id:Wikipedia:Peralatan/popups-id.js
- Italian: it:User:Emc2/strings-it.js
- Japanese: ja:User:Was_a_bee/strings-ja.js
- Kazakh: kk:User:Arystanbek/Popups-kk.js
- Korean: ko:User:Dus2000/string-navpop.js (Not 100%, but enough to be used) ko: 미디어위키:Gadget-popups-strings-ko.js
- 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
- Pashto : ps:کارن:ExtraTools/popups-strings.ps.js
- Persian (فارسی) : fa:مدیاویکی:Gadget-popups.js/fa-translation.js
- Portuguese (Português): pt:Usuário:João Sousa/strings-pt.js (should be ok, not fully tested)
- Romanian (Română): ro:MediaWiki:Gadget-popups.js
- Russian: ru:MediaWiki:Gadget-popups.js
- Serbian: sr:Корисник:Micki/strings-sr.js
- Slovak: sk:Redaktor:Jsimlo/popups-sk.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:பயனர்:Logicwiki/strings-ta.js
- Thai: th:ผู้ใช้:Jutiphan/popups-th.js
- Turkish: tr:Kullanıcı:Vito Genovese/Popups-tr.js
- Vietnamese: vi:User:Vinhtantran/strings-vi.js
Translation of complete script, locked to specific versions
editPlease 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
Translation of instruction pages
editPlease 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
- Galician: gl:Wikipedia:Ferramentas/Ventás emerxentes de navegación
- 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
- Kazakh: kk:Уикипедия:Гаджеттер/Қалқып шығушы терезелер
- Japanese: ja:Help:ナビゲーション・ポップアップ
- Latvian: lv:Wikipedia:Navigācijas baloni
- Malay: ms:Wikipedia:Peralatan/Navigation popups
- 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
- Turkish: tr:Vikipedi:Araçlar/Gezinti pencereleri