{"action":"created","issue":{"url":"https://api.github.com/repos/blackhole12/PonyClicker/issues/35","labels_url":"https://api.github.com/repos/blackhole12/PonyClicker/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/blackhole12/PonyClicker/issues/35/comments","events_url":"https://api.github.com/repos/blackhole12/PonyClicker/issues/35/events","html_url":"https://github.com/blackhole12/PonyClicker/issues/35","id":76859609,"number":35,"title":"Localization string tables","user":{"login":"blackhole12","id":3387013,"avatar_url":"https://avatars.githubusercontent.com/u/3387013?v=3","gravatar_id":"","url":"https://api.github.com/users/blackhole12","html_url":"https://github.com/blackhole12","followers_url":"https://api.github.com/users/blackhole12/followers","following_url":"https://api.github.com/users/blackhole12/following{/other_user}","gists_url":"https://api.github.com/users/blackhole12/gists{/gist_id}","starred_url":"https://api.github.com/users/blackhole12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackhole12/subscriptions","organizations_url":"https://api.github.com/users/blackhole12/orgs","repos_url":"https://api.github.com/users/blackhole12/repos","events_url":"https://api.github.com/users/blackhole12/events{/privacy}","received_events_url":"https://api.github.com/users/blackhole12/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blackhole12/PonyClicker/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/blackhole12/PonyClicker/milestones/2","html_url":"https://github.com/blackhole12/PonyClicker/milestones/v1.1%20Release","labels_url":"https://api.github.com/repos/blackhole12/PonyClicker/milestones/2/labels","id":1112912,"number":2,"title":"v1.1 Release","description":null,"creator":{"login":"blackhole12","id":3387013,"avatar_url":"https://avatars.githubusercontent.com/u/3387013?v=3","gravatar_id":"","url":"https://api.github.com/users/blackhole12","html_url":"https://github.com/blackhole12","followers_url":"https://api.github.com/users/blackhole12/followers","following_url":"https://api.github.com/users/blackhole12/following{/other_user}","gists_url":"https://api.github.com/users/blackhole12/gists{/gist_id}","starred_url":"https://api.github.com/users/blackhole12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackhole12/subscriptions","organizations_url":"https://api.github.com/users/blackhole12/orgs","repos_url":"https://api.github.com/users/blackhole12/repos","events_url":"https://api.github.com/users/blackhole12/events{/privacy}","received_events_url":"https://api.github.com/users/blackhole12/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2015-05-15T22:36:21Z","updated_at":"2015-05-20T23:41:34Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-15T21:16:11Z","updated_at":"2015-05-21T09:55:46Z","closed_at":null,"body":"In order to localize Pony Clicker, the javascript must be decoupled from the HTML (need to merge #26 ) and then it must get it's strings from a string table that can be swapped out. Then a translated HTML page can be provided that loads the javascript with an argument specifying the language. For example, the russian version of Pony Clicker would be accessed at ponyclicker_ru.html and load the \"ru\" language.\r\n\r\nThis requires a significant refactoring of code, so it's low priority until after v1.0 release"},"comment":{"url":"https://api.github.com/repos/blackhole12/PonyClicker/issues/comments/104208430","html_url":"https://github.com/blackhole12/PonyClicker/issues/35#issuecomment-104208430","issue_url":"https://api.github.com/repos/blackhole12/PonyClicker/issues/35","id":104208430,"user":{"login":"DJDavid98","id":3200580,"avatar_url":"https://avatars.githubusercontent.com/u/3200580?v=3","gravatar_id":"","url":"https://api.github.com/users/DJDavid98","html_url":"https://github.com/DJDavid98","followers_url":"https://api.github.com/users/DJDavid98/followers","following_url":"https://api.github.com/users/DJDavid98/following{/other_user}","gists_url":"https://api.github.com/users/DJDavid98/gists{/gist_id}","starred_url":"https://api.github.com/users/DJDavid98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJDavid98/subscriptions","organizations_url":"https://api.github.com/users/DJDavid98/orgs","repos_url":"https://api.github.com/users/DJDavid98/repos","events_url":"https://api.github.com/users/DJDavid98/events{/privacy}","received_events_url":"https://api.github.com/users/DJDavid98/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T09:55:46Z","updated_at":"2015-05-21T09:55:46Z","body":"The best way to do this would be to store language preferences in the user's settings, and dynamically add the language file JS to the DOM. Maintaining 10+ different HTML files would be a nightmare. If only you had a host which supports PHP, this would be a lot easier."}}