{"action":"created","issue":{"url":"https://api.github.com/repos/jknack/handlebars.java/issues/534","repository_url":"https://api.github.com/repos/jknack/handlebars.java","labels_url":"https://api.github.com/repos/jknack/handlebars.java/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/jknack/handlebars.java/issues/534/comments","events_url":"https://api.github.com/repos/jknack/handlebars.java/issues/534/events","html_url":"https://github.com/jknack/handlebars.java/issues/534","id":173474428,"number":534,"title":"Improve i18n/locale support","user":{"login":"a8cjones","id":16323199,"avatar_url":"https://avatars.githubusercontent.com/u/16323199?v=3","gravatar_id":"","url":"https://api.github.com/users/a8cjones","html_url":"https://github.com/a8cjones","followers_url":"https://api.github.com/users/a8cjones/followers","following_url":"https://api.github.com/users/a8cjones/following{/other_user}","gists_url":"https://api.github.com/users/a8cjones/gists{/gist_id}","starred_url":"https://api.github.com/users/a8cjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a8cjones/subscriptions","organizations_url":"https://api.github.com/users/a8cjones/orgs","repos_url":"https://api.github.com/users/a8cjones/repos","events_url":"https://api.github.com/users/a8cjones/events{/privacy}","received_events_url":"https://api.github.com/users/a8cjones/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-26T15:02:35Z","updated_at":"2016-08-26T17:08:01Z","closed_at":null,"body":"Unless I'm missing something,  there doesn't seem to be a easy way of supporting multiple locales within the same template, which results in needing multiple templates.\r\n\r\nUsing Locale.setDefault('xx') in Java is not thread-safe, so not a solution.\r\n\r\nWhat I'd like ideally would be to have an alternative method signature to template.apply() which accepted a Locale object. \r\ne.g. public String apply(Object context, Locale locale)"},"comment":{"url":"https://api.github.com/repos/jknack/handlebars.java/issues/comments/242793281","html_url":"https://github.com/jknack/handlebars.java/issues/534#issuecomment-242793281","issue_url":"https://api.github.com/repos/jknack/handlebars.java/issues/534","id":242793281,"user":{"login":"jknack","id":1301129,"avatar_url":"https://avatars.githubusercontent.com/u/1301129?v=3","gravatar_id":"","url":"https://api.github.com/users/jknack","html_url":"https://github.com/jknack","followers_url":"https://api.github.com/users/jknack/followers","following_url":"https://api.github.com/users/jknack/following{/other_user}","gists_url":"https://api.github.com/users/jknack/gists{/gist_id}","starred_url":"https://api.github.com/users/jknack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jknack/subscriptions","organizations_url":"https://api.github.com/users/jknack/orgs","repos_url":"https://api.github.com/users/jknack/repos","events_url":"https://api.github.com/users/jknack/events{/privacy}","received_events_url":"https://api.github.com/users/jknack/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T17:08:01Z","updated_at":"2016-08-26T17:08:01Z","body":"cool, glad it works!\r\n\r\nAlso, I invite you to try: http://jooby.org"}}
{"actor":{"display_login":"jknack"}}