සාකච්ඡාව:Gadget
Google Translate now supports Sinhali, so GoogleTrans gadget can be activated
සංස්කරණයHi there,
Thanks for putting up the GoogleTrans gadget 4 years ago. It couldn't be used by the sinhali wiki then because sinhali wasn't translateable by Google.
Fortunately, this has changed since December 2014. I have a version of GoogleTrans, that does translate sinhali with english and other languages. If you change your gadget code to
importScript("User:Endo999/GoogleTrans.js");
instead of
importScript("en:User:Endo999/GoogleTrans.js");
then the gadget should start working on the siwiki.
The current reference to the English version of the gadget doesn't work. You need to use importScript() for files within your wiki, it seems to me.
There are some current minor changes I will need to make in the future, such as converting over soon to be deprecated javascript calls to the object orientated MW object. If you reference the javascript file in my siwiki user space then I will be able to make these changes without bothering any body.