Implementation of translation.