Updated translation functionality.