rzymek / meteor-moment

Moment JS packaged for Meteor - this is now the primary fork for meteor-moment
9 stars 4 forks source link

Language Files in Packages should be exposed also on server #2

Closed gerwinbrunner closed 9 years ago

gerwinbrunner commented 9 years ago

Hi,

I'm trying to localize e-mails on the server but it seems that the language files are only exposed on the client. So I suggest to have them also exposed to the server.

There is the line that needs to be adapted: https://github.com/rzymek/meteor-moment/blob/master/locales/de/package.js#L11

rzymek commented 9 years ago

The momentjs version I've integrated with used window to register locales. The'same why I made them only available on the client. I'll look into it. Maybe something changed in momentjs or I'll try to somehow work around it.