FIX: Wizard locale change wasn't applying to some elements (PR #12915)

Since 0e303c7f5d2767c37b9078226b5ce1d20fa3678e, wizards steps that required a refresh were loading data via Ajax. But this doesn’t update the extra locale strings, so when changing locale in the first step of the wizard, the footer button language was “stuck” in the previous locale.

This forces a full reload when the locale is changed in the wizard.

GitHub

This seems good. I wonder how much effort it would be to only reload conditionally if the locale changed?

@eviltrout That’s how it works, this code path is only hit when there is a request to the backend.

Oh, cool!