translate for firefox

fixes #1285