I'm using a IStringLoclizer approach with a resx file containing key-value pairs to localize my app as decribed in the documentation.
I've just discovered that:
On the one hand the .resx file is case insensitive (storing the key Firstname and FirstName will throw an error of key already existing).
On the second hand, when I want to RETRIEVE the keys, it IS case sensitive (if the key Firstname exists and I want to get the value of FirstName, the value is not retrieved by IStringLoclizer - which makes sense from the key-value pair point of view!).
Is there a way to override the IStringLocalizer getters, in order to implement some logic (e.g. change all keys to lowercase, and search any key by lowercase)? The key of a valid solution is to avoid changing all keys in the .resx file AND wherever I call the IStringLocalizer.
Edit
I found out about ResourceManager.IgnoreCase here, but it is not clear to me how to access the resource manager - probably this has to be done in Startup.cs somehow?