dojo / i18n

:rocket: Dojo 2 - internationalization library.
http://dojo.io
Other
6 stars 19 forks source link

Write I18n#loadBundle() #2

Closed morrinene closed 8 years ago

morrinene commented 9 years ago

I18n#loadBundle() will need to function similarly to Dojo 1's i18n plugin: Grab the root bundle and then any available bundles up to and including the user's locale.

These will all be inserted into Globalize with the locale (this.globalize.loadMessages({ en: bundle })) and Globalize will figure out the correct message to use.

kitsonk commented 8 years ago

Re-starting i18n, therefore closing this.