I am developing a project and uses HTML files (not JSP or any other technology at client side). I use JQuery for scripting. I have tables, columns, and many fields that have “text” on them. How can I internationalize my web page with JQuery? I mean I will load a file _tr.extension and my web page will be Turkish, _swe.extension will be Swedish etc.
Any ideas?
EDIT1: For example I will write a code like that:
<div>${name}</div>
<div>${surname}</div>
and there will be a _tr.properties file like that:
name = isim
surname = soyisim
and there will be a _swe.properties file like that:
name = namn
surname = efternamn
And if I change the imported file that texts inside that divs will be at different language per pages.
EDIT2: That functionality is enough for me I don’t want more I need a speedy and lightweight plug-in (Maybe feeding from JSON can be an additional specialty).
Localizer plug-in – plugins.jquery.com/project/localizer is simple and works well.