get localization from config