partially moved to the controller language change handling