Let's fire the on_locale_change event

Let's introduce the `on_locale_change` event, so that we can implement functions like the ones introduced by https://github.com/concrete5/concrete5/pull/1109