Prepare for localization