Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor app localization with culture code in URL fails

$
0
0

I am trying to enable browsing to a localized paging with URL like:

https://example.com/en/counter (for English)https://example.com/fr/counter (for French)https://example.com/es/counter (for Spanish)

The pages in my project are now localized with culture in the URL, but I keep getting errors shown in the image.enter image description here

This error may be causing the Counter button not counting correctly.

I've looked at various Stackoverflow posting but cannot figure out what can be done. I may need to change the implementation of RequestCultureProvider but not sure. Any help would be appreciated.

The project can be found at:

https://github.com/tsutomua/blazor/tree/main/LocalizationTestApp


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>