Opened 10 years ago

Closed 10 years ago

#14246 closed defect (fixed)

dojo/i18n fails to wait for all the bundles

Reported by: Kris Zyp Owned by: Rawld Gill
Priority: high Milestone: 1.7.1
Component: Loader Version: 1.7.0
Keywords: i18n Cc:
Blocked By: Blocking:

Description

The dojo/i18n AMD plugin fires the callback for completion when the target locale is loaded. However, if Dojo is configured to have extra locales, and one of the the extra locales takes longer than the target locale, then the completion callback will fire before all the extra locale bundles are finished loading.

Attachments (1)

i18n-wait-for-all.patch (741 bytes) - added by Kris Zyp 10 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 years ago by Adam Peller

Component: InternationalizationLoader
Owner: changed from Adam Peller to rawld

Changed 10 years ago by Kris Zyp

Attachment: i18n-wait-for-all.patch added

comment:2 Changed 10 years ago by Kenneth G. Franqueiro

Owner: changed from rawld to Rawld Gill

comment:3 Changed 10 years ago by Kenneth G. Franqueiro

Keywords: i18n added
Milestone: 1.7.1

comment:4 Changed 10 years ago by Rawld Gill

Resolution: fixed
Status: newclosed

In [27037]:

make i18n wait for all bundles when extra locales exist; thanks kriszyp; fixes #14246; !strict

Note: See TracTickets for help on using tickets.