front-end translation