Added localization code.