fix translate.html build error