I have a class library and was to add a resource file to it to support both English and Spanish.
Any tips as how I can do this? The language will be dictated by the user visiting the site. Would like to have to only load each resource file once and cache or set in static variable and avoid any overheads.
It should be already handled by .net engine, and it would choose to use the one according to currentUICulture or currentCulture. BTW, the resource is supposed to be compiled into DLL so it is not possible to “Choose” since the file is not existed in the final compilation.