protected override void OnInitialized() { Localizer.OnResourceReady = () => InvokeAsync(StateHasChanged); base.OnInitialized(); } }