Use the event system to handle UI language changes.
Option dialog: Reload the dialog in case of language change.

The dialog will be closed and reopened when "Apply" is pressed if the language was changed.