Prepare localization