After following this guide, and watching his video on youtube, specifically between 35:00 and 36:30, I still could not make a shared resource available for my demo app.
I have the class Resources/SharedResource.cs, but neither with IHtmlLocalizer<SharedResource> that I have in Pages/Index.cshtml, nor with IStringLocalizer<SharedResource> that I have in Pages/Index.cshtml.cs seems to be working.
In my SharedReousrce.en-GB.resx I have:
<data name="_COLOR_" xml:space="preserve">
<value>colour</value>
</data>
And in my SharedResource.en-US.resx I have:
<data name="_COLOR_" xml:space="preserve">
<value>color</value>
</data>
Normally I expected when I visit https://localhost:5001/en-us to see color on the view and in the console, and when visiting https://localhost:5001/en-gb to see colour on the view and in the console.
Currently, on the view, the key _COLOR_ is being ignored and on the console, both the key _COLOR_ from SharedResource but also the key _WELCOME_ from index resource under Resources/Pages/ are being ignored.
Any help would be great! Thanks in advance!