Implemented translation functionality