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

Set Data for a specified language #42

Open
mbertin opened this issue Jan 21, 2015 · 2 comments
Open

Set Data for a specified language #42

mbertin opened this issue Jan 21, 2015 · 2 comments

Comments

@mbertin
Copy link
Contributor

mbertin commented Jan 21, 2015

Can set data for a language in lazy mode

@dhoko
Copy link
Owner

dhoko commented Jan 21, 2015

What do you mean ?

PS: the v2 is coming in a few weeks (rewrite is done, I need to add some features, tests and e2e), static data will be available for each mode.

@mbertin
Copy link
Contributor Author

mbertin commented Jan 21, 2015

I just want a method to load static data for a given language

   setDataForLanguage: function setDataForLanguage(data, language) {
        if(config.lazy) {
            i18n.data[language] = data;
        }
    },

mbertin pushed a commit to mbertin/angular-ngBabelfish that referenced this issue Jan 21, 2015
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