jamesarosen / ember-i18n

Other
765 stars 184 forks source link

Storing arrays? #416

Closed lcpriest closed 7 years ago

lcpriest commented 7 years ago

ember-pikaday allows translation and it currently does not work well with ember-i18n. I'm currently working on a fork that should get a basic implementation working.

https://github.com/advocately/ember-pikaday-ember-i18n

One of the lookups by ember-pikaday is this.get('i18n').t('months') and the return value should be:

['January','February','March','April','May','June','July','August','September','October','November','December']

Is there any way to store an array in ember-i18n? My current work around is to store it as a comma separated string and split(') on the response.

jamesarosen commented 7 years ago

Duplicate of #382.