Updated the localization code.