We need to be able to localize strings in javascript – thinking for things like the app_offline.htm file etc.
jquery globalize is hectic and seems like total overkill. Is there a simple jquery plugin or anything really that will allow us to localize js strings?
At the risk of over simplifying:
To use:
where lang = ‘en-US’ etc
You can either generate that structure on the server and use resource files etc there, or just keep this object literal in a
global.jsor similar.