apply localization