added localization to plugin