Translation encoding