{"action":"created","issue":{"url":"https://api.github.com/repos/i18next/i18next/issues/398","labels_url":"https://api.github.com/repos/i18next/i18next/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/i18next/i18next/issues/398/comments","events_url":"https://api.github.com/repos/i18next/i18next/issues/398/events","html_url":"https://github.com/i18next/i18next/issues/398","id":87489002,"number":398,"title":"Translate all elements with data-i18n attribute without jQuery?","user":{"login":"AtheistP3ace","id":4583488,"avatar_url":"https://avatars.githubusercontent.com/u/4583488?v=3","gravatar_id":"","url":"https://api.github.com/users/AtheistP3ace","html_url":"https://github.com/AtheistP3ace","followers_url":"https://api.github.com/users/AtheistP3ace/followers","following_url":"https://api.github.com/users/AtheistP3ace/following{/other_user}","gists_url":"https://api.github.com/users/AtheistP3ace/gists{/gist_id}","starred_url":"https://api.github.com/users/AtheistP3ace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtheistP3ace/subscriptions","organizations_url":"https://api.github.com/users/AtheistP3ace/orgs","repos_url":"https://api.github.com/users/AtheistP3ace/repos","events_url":"https://api.github.com/users/AtheistP3ace/events{/privacy}","received_events_url":"https://api.github.com/users/AtheistP3ace/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i18next/i18next/labels/feature%20request","name":"feature request","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-11T20:42:02Z","updated_at":"2015-06-15T19:06:09Z","closed_at":"2015-06-15T19:06:09Z","body":"Basically I want to use i18next without jQuery. I could write my own code for this but was hoping i18n had the same built in way of doing this without jQuery. Using jQuery I can just call i18n on the body (e.g. $('body').i18n()) and every element with data-i18n on it will be translated.\r\n\r\nCan you do this without jQuery using already built in options of i18n or do I need to do a query selector all for all the elements with that attribute and loop and translate each one myself?\r\n\r\nAlso all the other attribute translation happens using jquery too (e.g. [title]somekey;). Without jquery do I have to do all this manually."},"comment":{"url":"https://api.github.com/repos/i18next/i18next/issues/comments/112176031","html_url":"https://github.com/i18next/i18next/issues/398#issuecomment-112176031","issue_url":"https://api.github.com/repos/i18next/i18next/issues/398","id":112176031,"user":{"login":"jamuhl","id":977772,"avatar_url":"https://avatars.githubusercontent.com/u/977772?v=3","gravatar_id":"","url":"https://api.github.com/users/jamuhl","html_url":"https://github.com/jamuhl","followers_url":"https://api.github.com/users/jamuhl/followers","following_url":"https://api.github.com/users/jamuhl/following{/other_user}","gists_url":"https://api.github.com/users/jamuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/jamuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamuhl/subscriptions","organizations_url":"https://api.github.com/users/jamuhl/orgs","repos_url":"https://api.github.com/users/jamuhl/repos","events_url":"https://api.github.com/users/jamuhl/events{/privacy}","received_events_url":"https://api.github.com/users/jamuhl/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T19:06:09Z","updated_at":"2015-06-15T19:06:09Z","body":"PR will be merged"}}