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

register configuration not documented #162

Closed
ozum opened this issue Jun 16, 2015 · 2 comments
Closed

register configuration not documented #162

ozum opened this issue Jun 16, 2015 · 2 comments

Comments

@ozum
Copy link

ozum commented Jun 16, 2015

I see register configuration parameter below from #121, but couldn't find it in documents. Could you please document it.

Best Regards,

var anyObject = {
  __: i18n.__
};

i18n.configure({
  locales: ['en', 'de'],
  register: anyObject
});

anyObject.setLocale('en');
anyObject.__('Hallo'); // --> Hello
@mashpie mashpie modified the milestone: backlog Jan 31, 2016
@mashpie
Copy link
Owner

mashpie commented Jan 31, 2016

o k e y :)

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

No branches or pull requests

2 participants