Fix events localization (issue #1791)