single action for js and html translation request