We’re currently building an Ember app within our Rails app, but moving toward an independent ember-cli environment. We’re trying to modularize our code with that intention so we’re building lots of small components that we can eventually turn into installable addons.
I’ve seen it’s possible to include CSS in an addon, but is it possible to include localization strings as part of an addon?
Hey @jbuckner - did you end up making progress on this? I am embarking on the same journey. It seems like the addon’s locales contents need to be deep merged w/ the consuming app’s locales content and using one of the i18n libraries should ‘just work’
Seems reasonable… did you go down this path by any chance?
Hello @jbuckner and @coladarci, Coincidentally I am also now contemplating various options for consuming intl resources from multiple addons into an app. Did either of you identify a manageable approach to this?
Just an FYI that this approach doesn’t work w/ the newest (awesome) version of ember-cli-i18n. Our approach has changed a little bit because of this. We are basically, in our parent app, pulling in the translations from the addon and adding them to our own translations (instead of pushing them from the addon, which would be better).