TAPevents / tap-i18n-db

MIT License
51 stars 17 forks source link

Support for i18nFind in Meteor methods #10

Open Elfoslav opened 9 years ago

Elfoslav commented 9 years ago

When I try to use i18nFind in Meteor method, I get exception "TAPi18n.i18nFind should be called only from TAPi18n.publish functions". Why this restriction? How Can I get translated document inside Meteor method? Also i18nFindOne would be nice.

keviniamburg commented 9 years ago

+1 I had this issue even within a TAPi18n.publish function in server code

theosp commented 9 years ago

@slickdev can you reproduce the issue in a project and share it here? Thanks @Elfoslav there's a reason for that hope I'll have time to write something about it soon.