fire the `localized` event with window rather than document