add translate option to file