MediaWiki razgovor:Gadgets-definition
Ovo je stranica za razgovor za raspravu o stranici MediaWiki:Gadgets-definition. | |||
---|---|---|---|
| |||
Pismohrane:
|
Dear friends; please look at the links at commons:user:i18n#useful links. Thanks in advance! Best regards Gangleri
·לערי ריינהארט·T·m:Th·T·email me· 18:35, 7. veljača 2008. (CET)
Proposal for GoogleTrans gadget
[uredi kôd]Hi there,
Sorry about the English.
I have made a GoogleTrans gadget which has been on the enwiki for around a year now. It is also on 11 other wikipedias including the Serbian and the Macedonian.
It functions like the Google toolbar translation feature. When you position the cursor over a word in a webpage and hit the SHIFT key, the Google translation of that word (or of selected text < 500 characters) appears in a popup below the cursor.
The help page for the gadget is at:
http://en.wikipedia.org/wiki/User:Endo999/GoogleTrans
(This has instructions on how to port over to other wikis).
and the code for it is at:
http://en.wikipedia.org/wiki/User:Endo999/GoogleTrans.js
It really works well for people who have intermediate Croatian as they can easily look up a word they don't know (every 2 or 3 sentences). This is how I use the tool to read French and Spanish webpages. However, the person who knows no Croatian (like me) can simply select a sentence or two and have it translated as well. In each popup there is a link to Google Translation Services. If you click on this link then the whole page is translated.
Good luck with your hrwiki. There are a lot of Australian soccar players (where I live) who harken from Croatia.
Endo999 (razgovor) 06:14, 14. studenog 2010. (CET)
Izvori
[uredi kôd]- izvori|izvori.js|izvori.css
- izvori[default]|izvori.js|izvori.css
Tko piše ne zaboravlja. :) SpeedyGonsales 15:24, 16. lipnja 2013. (CEST)
need to add [Resource Loader] token to gadget definition file in order to support GoogleTrans gadget
[uredi kôd]wiki 1.26 requires a change to
MediaWiki:Gadgets-definition
to support gadgets. The enwiki version, which is working fine, has this entry in the above file for GoogleTrans:
- GoogleTrans[ResourceLoader]|GoogleTrans.js
(the above bullet is actually an asterick).
You may also have to upgrade the GoogleTrans gadget since certain javascript calls are no longer supported.