{"action":"created","issue":{"url":"https://api.github.com/repos/TAPevents/tap-i18n-db/issues/9","labels_url":"https://api.github.com/repos/TAPevents/tap-i18n-db/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/TAPevents/tap-i18n-db/issues/9/comments","events_url":"https://api.github.com/repos/TAPevents/tap-i18n-db/issues/9/events","html_url":"https://github.com/TAPevents/tap-i18n-db/issues/9","id":51621881,"number":9,"title":"i18nFind() does not work in publication","user":{"login":"Elfoslav","id":1983575,"avatar_url":"https://avatars.githubusercontent.com/u/1983575?v=3","gravatar_id":"","url":"https://api.github.com/users/Elfoslav","html_url":"https://github.com/Elfoslav","followers_url":"https://api.github.com/users/Elfoslav/followers","following_url":"https://api.github.com/users/Elfoslav/following{/other_user}","gists_url":"https://api.github.com/users/Elfoslav/gists{/gist_id}","starred_url":"https://api.github.com/users/Elfoslav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elfoslav/subscriptions","organizations_url":"https://api.github.com/users/Elfoslav/orgs","repos_url":"https://api.github.com/users/Elfoslav/repos","events_url":"https://api.github.com/users/Elfoslav/events{/privacy}","received_events_url":"https://api.github.com/users/Elfoslav/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-10T22:46:43Z","updated_at":"2015-02-01T11:13:53Z","closed_at":"2015-01-31T20:47:11Z","body":"I define collection Persons:\r\n\r\n    Persons = new TAPi18n.Collection(\"persons\");\r\n\r\nI have publication on the server:\r\n\r\n    TAPi18n.publish(\"persons\", function () {\r\n      return Persons.i18nFind();\r\n    });\r\n\r\nAnd subscription on the client:\r\n\r\n    TAPi18n.subscribe('persons', function(err) {\r\n      console.log('subscr persons: ', err);\r\n    });\r\n\r\nIf I use i18nFind() in publish, I get following error:\r\n\r\n![screenshot from 2014-12-10 23 10 56](https://cloud.githubusercontent.com/assets/1983575/5385791/ebfae41c-80c5-11e4-9d87-8e00d07b2b0d.png)\r\n\r\nIf I use find(), there is no error but translation does not work after changing language.\r\n\r\nTested with Meteor 1.0.1 and 0.9.4\r\n\r\nHere is example app: https://github.com/Elfoslav/tap-i18n-example\r\n"},"comment":{"url":"https://api.github.com/repos/TAPevents/tap-i18n-db/issues/comments/72360658","html_url":"https://github.com/TAPevents/tap-i18n-db/issues/9#issuecomment-72360658","issue_url":"https://api.github.com/repos/TAPevents/tap-i18n-db/issues/9","id":72360658,"user":{"login":"theosp","id":207494,"avatar_url":"https://avatars.githubusercontent.com/u/207494?v=3","gravatar_id":"","url":"https://api.github.com/users/theosp","html_url":"https://github.com/theosp","followers_url":"https://api.github.com/users/theosp/followers","following_url":"https://api.github.com/users/theosp/following{/other_user}","gists_url":"https://api.github.com/users/theosp/gists{/gist_id}","starred_url":"https://api.github.com/users/theosp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theosp/subscriptions","organizations_url":"https://api.github.com/users/theosp/orgs","repos_url":"https://api.github.com/users/theosp/repos","events_url":"https://api.github.com/users/theosp/events{/privacy}","received_events_url":"https://api.github.com/users/theosp/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T11:13:53Z","updated_at":"2015-02-01T11:13:53Z","body":"Thanks for the update!\r\n\r\n-Daniel\r\n\r\nMeteorSpark\r\nhttp://www.MeteorSpark.com <http://www.meteorspark.com/>\r\n\r\nOn Sun, Feb 1, 2015 at 4:47 AM, Tomáš Hromník <notifications@github.com>\r\nwrote:\r\n\r\n> Closed #9 <https://github.com/TAPevents/tap-i18n-db/issues/9>.\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/TAPevents/tap-i18n-db/issues/9#event-228038321>.\r\n>"}}