tried to add modify definition func in translate.html, failed