#13266 closed defect (fixed)
dojo.config.extraLocale is not implemented
Reported by: | Rawld Gill | Owned by: | Rawld Gill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Core | Version: | 1.7.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
define(["dojo/i18n!someModule/nls/someBundle"], //...
currently loads the bundle for the locale given by dojo.locale. It should also load the bundle for all locales given by dojo.config.extraLocale (a single locale or a vector of locales).
Change History (3)
comment:1 Changed 10 years ago by
Status: | new → assigned |
---|
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 10 years ago by
Note: See
TracTickets for help on using
tickets.
If you write...
then myBundle is loaded and returned for dojo.locale. This should be changed to load localized bundles for dojo.locale + all bundles in dojo.config.extraLocale (if any), and then return the particular bundle associated with dojo.locale. Then, at any time in the future, you could request any local in dojo.locale + dojo.config.extraLocales and get the bundle synchronously via the require("<module>/nls/<locale>/<bundle>") signature.