Thread:User talk:Yair rand/newentrywiz.js/Love this New Entry Wizard!!! How can I localize it for Khmer Wiktionary project. Please help!/reply

Well, I don't know how the Khmer Wiktionary entries are formatted, but if they're formatted similar to the English Wiktionary's you could just import the page, translate the English words in quotes into Khmer, localize the necinfls object, add the line jQuery(document).ready(function{if(document.getElementById('necblah')){importScript('User:Yair rand/newentrywiz.js')}}) (changing "User:Yair rand/newentrywiz.js" to another name if it's going to be placed somewhere else) to km:Mediawiki:Common.js, and create a User:Yair rand/usenec page over there. The hardest part of that will probably be localizing necinfls in the code to use Khmer Wiktionary templates. I've included an explanation of how the necinfls object works on the script page, but it probably isn't easy to understand. If the explanation doesn't make any sense, try to follow the patterns in the existing version and it might make sense...