I am looking for a way to resolve IStringLocalizer<T>
objects with the real underlying resx files, using a similar method to how I resolved IOptions
in this question.
This is in order to build unit tests that will chek each resx for each language to ensure the strings are implemented.
If it can't be done using the standard resolving of a IStringLocalizer<MyStringClass>
type, then any other ways I can easily access the key value pairs from the resx would be helpful.
I've done some searching but not having much luck. Does anyone know of an easy way to do this?
Thanks in advance.