Add translation functionality