added check for localization enabled options