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

Support for runtime-loaded CLDR #69

Closed
gigafied opened this issue Mar 13, 2015 · 4 comments
Closed

Support for runtime-loaded CLDR #69

gigafied opened this issue Mar 13, 2015 · 4 comments

Comments

@gigafied
Copy link

My current project is using AMD w/ Ember. Thus during dev, we have no build step. Without the ability to load the CLDR data on-demand, I am unable to implement ember-intl.

Apart from my specific issue though, it would be good to have an option to create Locales and register them as needed during runtime. Say our backend were to have language management, with the ability to add new languages or remove languages. Currently this isn't possible as the full list of languages needs to be included when building the JS.

@jasonmit
Copy link
Member

@gigafied when you say locales are you referring to the CLDR, translations, or both?

/cc @ericf in reference to the need to extract the broccoli logic out into its own project so people can have more finite control over the extraction.

@gigafied
Copy link
Author

Both.

@jasonmit
Copy link
Member

@gigafied I have changes to resolve portions of your requirements in #68.

However, The CLDR extraction logic hasn't been solved yet. But I think the path will be to expose the new broccoli plugin (https://github.com/yahoo/ember-intl/pull/68/files#diff-616282132dc0285e5107b705ebf796eaR1) as a third party module where you can use to push CLDR to your asset tree instead of app tree.

I can provide documentation around all of this once it's complete.

@jasonmit
Copy link
Member

#41 I'm going to use this issue as the reference for this feature since this is a duplicate.

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

No branches or pull requests

2 participants