CultureNotFoundException: Culture is not supported. (Parameter 'culture') 4096 (0x1000) is an invalid culture identifier

1.2k views Asked by At
CultureInfo cultureInfo = new CultureInfo(CultureInfo.CurrentCulture.LCID);

When using the above code with the "en-AT" culture, the below exception occurred. I'm using a Blazor project and I rendered the project default in the en-AT culture.

Exception : CultureNotFoundException: Culture is not supported. (Parameter 'culture') 4096 (0x1000) is an invalid culture identifier.

I want to render English (Austria) culture.

0

There are 0 answers