Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Ember 2.2.0 Initializer example #23

Closed
ghost opened this issue Dec 10, 2015 · 2 comments
Closed

Provide Ember 2.2.0 Initializer example #23

ghost opened this issue Dec 10, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Dec 10, 2015

Thank you for all your work!

I would like to use Initializers in my Ember 2.2 Application to load a default language and inject 'i18n' in routes and controllers. Could you provide an example? Thank you

@heathharrelson
Copy link
Member

I'm open to documenting additional ways to initialize the library, but could you give me a little more information on what you're trying to do? For instance, why doesn't setting the default language via the environment.js work for you? And why not use Ember.inject.service() or the I18nMixin to inject the service?

@heathharrelson
Copy link
Member

I'm going to close this issue due to the lack of response. If you can provide additional details about the problem you're trying to solve, you can open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant