finish localization