Hey there, I'm looking for a way to easily store and access the wording used in my application so that I can use them again whenever needed.
For example, loading messages, validation messages, or informational messages are some of the wordings I want to store.
I've attempted to use .resx files to store some of these, but I find it tedious to constantly access the server to retrieve the wordings. It's become somewhat of a hassle.
Another method I tried was storing them in a JavaScript array, but I realized that this exposes all the wordings to any user accessing the client side. Although I don't have anything sensitive to hide, something about this approach doesn't sit right with me.
Does anyone have any suggestions on a better way to handle this?