How to use localization resource file?
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.