Updated the translation map to be Python3 compatible.