Opened 15 years ago

Closed 15 years ago

#2281 closed task (fixed)

get localization code out of the bootstraps

Reported by: alex Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: Core Version: 0.4.1
Keywords: Cc: [email protected]…, [email protected]
Blocked By: Blocking:


the localization loading code is large, and if you need it, you know you need it. It needs to not be sent in every profile and every build.

Change History (4)

comment:1 Changed 15 years ago by James Burke

Something I mentioned on an email thread:

So maybe something like this:

dojo.requireLocalization = function(/*args*/){

dojorequire?("dojo.i18n.require"); defines the real requireLocalization dojo.requireLocalization(/*args*/);


For xdomain builds though, they would likely need the real dojo.requireLocalization already in dojo.js (because of the async loading). Maybe it would work out. Might have to do some custom work in loader_xd.js.

We might have to do some extra work in the build process to figure out when we need the "real" requireLocalization definition for the cases in which the build includes a widget that is localized.

comment:2 Changed 15 years ago by dylan

Milestone: 0.9

comment:3 Changed 15 years ago by Adam Peller

(In [7291]) References #2281. Sorry, forgot to note this on the checkin last week. Checked into dojo-lite

comment:4 Changed 15 years ago by Adam Peller

Resolution: fixed
Status: newclosed

(In [7458]) Fixes #2281

Note: See TracTickets for help on using tickets.