pouchdb-community / ember-pouch

PouchDB/CouchDB adapter for Ember Data
Apache License 2.0
281 stars 76 forks source link

How to design multi language pouch? #178

Open hashg opened 7 years ago

hashg commented 7 years ago

I'm trying to build mobile app with multi language support.

broerse commented 7 years ago

@hashg I have not tried this. But take a look at https://github.com/jamesarosen/ember-i18n and perhaps ask on https://discuss.emberjs.com

hashg commented 7 years ago

@broerse You are correct, I'm using ember-i18n for static content. But how to store and retrieve language specific data in DB?

There has been multiple questions on ember dicuss forum. But no satisfactory answer.

srsgores commented 7 years ago

I prefer ember-intl, which is a more comprehensive solution to localisation.

broerse commented 7 years ago

@hashg is this not a normal hasMany relation? translations: DS.hasMany('translations:')