Relative Content

Tag Archive for c#blazorcultureinfo

On StateHasChanged(), the language culture reverts to the default language (Blazor)

I implemented two languages to the Blazor Application, in which I have a CultureSelector (selecting languages) and a CultureController which sets the culture as a cookie. I also use IStringLocalizer with resource files to map each of these. This works, until my razor page called “DevicePage.razor” gets data through a stream that looks something like this: