-
Notifications
You must be signed in to change notification settings - Fork 184
Pod support #346
Comments
I have not given this any thought yet. Do you want to put together an RFC? Or maybe just list some requirements and try to raise some of the relevant questions? For example:
|
You may have already seen this video, but pod structure will be changing considerably in the (ambiguously) near future. Might be worth holding off until the dust has settled there. |
Thanks for the tip! It will be several weeks before I pick up more ember-i18n work. I'll be sure to keep this in mind when I do 😀 |
I'm testing out module unification atm, had to change my resolver.js to look like this: import Resolver from 'ember-resolver/resolvers/fallback';
// import Resolver from 'ember-resolver/resolvers/glimmer-wrapper';
import { merge } from '@ember/polyfills';
import buildResolverConfig from 'ember-resolver/ember-config';
import config from '../config/environment';
let moduleConfig = buildResolverConfig(config.modulePrefix);
/*
* If your application has custom types and collections, modify moduleConfig here
* to add support for them.
*/
merge(moduleConfig.types, {
config: { definitiveCollection: 'main' },
locale: { definitiveCollection: 'main'},
'ember-i18n@config': { definitiveCollection: 'main' },
'util': { definitiveCollection: 'utils' },
});
moduleConfig.collections.main.types.push('config');
export default Resolver.extend({
config: moduleConfig
}); can't find my translations yet (using typescript). more research ahead! |
ok, I have translations kinda working... but it's a hack. ember-i18n doesn't support the to remedy this for the short term, I did:
the location of my actual file is at I have here is my repo if you want to go poke around: https://github.com/NullVoxPopuli/emberclear |
jamesarosen/ember-i18n has been deprecated in favor of ember-intl. |
Hi there, I was wondering if there are any plans to support pods to load translations? It seems Ember is gonna support pods more and more, so it would be appreciated to have a way to dispatch translations in pods.
Is there a way to do this already? What would be missing to make it work?
The subject was touched in #255 but I haven't seen it discussed elsewhere.
Edit: there seems to be an addon doing that, but wouldn't it be useful to port this into ember-i18n?
The text was updated successfully, but these errors were encountered: