{"action":"created","issue":{"url":"https://api.github.com/repos/florian/x18n/issues/12","repository_url":"https://api.github.com/repos/florian/x18n","labels_url":"https://api.github.com/repos/florian/x18n/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/florian/x18n/issues/12/comments","events_url":"https://api.github.com/repos/florian/x18n/issues/12/events","html_url":"https://github.com/florian/x18n/issues/12","id":154770992,"number":12,"title":"server-side usage","user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T18:15:18Z","updated_at":"2016-05-16T22:27:28Z","closed_at":null,"body":"would be nice to see server-side examples of usage... in that rendering from one user in one language won't clobber the rendering for another user in another language... there's no examples that create a separate rendering instance for a given locale."},"comment":{"url":"https://api.github.com/repos/florian/x18n/issues/comments/219567403","html_url":"https://github.com/florian/x18n/issues/12#issuecomment-219567403","issue_url":"https://api.github.com/repos/florian/x18n/issues/12","id":219567403,"user":{"login":"tracker1","id":444316,"avatar_url":"https://avatars.githubusercontent.com/u/444316?v=3","gravatar_id":"","url":"https://api.github.com/users/tracker1","html_url":"https://github.com/tracker1","followers_url":"https://api.github.com/users/tracker1/followers","following_url":"https://api.github.com/users/tracker1/following{/other_user}","gists_url":"https://api.github.com/users/tracker1/gists{/gist_id}","starred_url":"https://api.github.com/users/tracker1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tracker1/subscriptions","organizations_url":"https://api.github.com/users/tracker1/orgs","repos_url":"https://api.github.com/users/tracker1/repos","events_url":"https://api.github.com/users/tracker1/events{/privacy}","received_events_url":"https://api.github.com/users/tracker1/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T22:27:28Z","updated_at":"2016-05-16T22:27:28Z","body":"But depending on how you are using server-side rendering, that would require several changes to the focus to \"set\" ...  Would be better if one could have a rendering `.t` instance that's set to a specific language, so that it can be passed in context (think react modules) to children via the context.\r\n\r\nWithout that, one would have to call `.set(context.locale)` everywhere you use a template, which would severely inhibit the value this module provides."}}