I'm making a web application using jQuery. All the elements of the web applications are created using jQuery (var $header = $("<div>");
). I already have an object called stringtables where I have sub-objects called "no", "en" etc.
On page load the default is loaded and strings from it used for the text in all my elements. Is there any way I can tie all the elements to the string table, so when I switch string tables all the text on the website will change with it?
I want the application language to be changed without the page reloading.