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

How to use localization resource file?

$
0
0

I am developing a blazor server app and now I want to use localization.

I create res1.en.resx and res1.fr.resx, but I can't create a designer class, it throw an exception, but no logs. I tried to create a normal resource file, I succedded.

So I think maybe ResXFileCodeGenerator doesn't support localization resource file? If I can't create the designer class, I can't user IStringLocalizer either, for no class can be passed in as generic arguments.enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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