Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11880 closed defect (fixed)

Can't get localization bundle

Reported by: youngho Owned by: Rawld Gill
Priority: high Milestone: 1.6
Component: Loader Version: 1.5
Keywords: Cc:
Blocked By: Blocking:

Description

After successful custom build by fixing #11875, I tried to connect my web page. But the following localization error happened.

Bundle not found: gregorian in dojo.cldr , locale=ko http://www.mydomain/js/dojo/layers/commons.js Line 14

But I have a localization file in http://www.mydomain/js/dojo/layers/nls/commons_ko.js

Attachments (2)

commons_ko.js (4.8 KB) - added by youngho 9 years ago.
commons_ko.xd.js (5.2 KB) - added by youngho 9 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 Changed 9 years ago by bill

Owner: changed from anonymous to Rawld Gill

comment:2 Changed 9 years ago by Rawld Gill

Status: newassigned

comment:3 Changed 9 years ago by Rawld Gill

Confirm you are not using dojo-sie.js; this is not supported (yet).

After a build, the l10n bundles (and the rest of the build) should look exactly the same as if you did a build with released version 1.5. Confirm this is not the case.

comment:4 Changed 9 years ago by youngho

My build script and profile didn't chanage at all. And I am not sure how I can involve dojo-sie.js. My build process is just update svn and run build script using my custom profile.

Also the gregorian.js and commons.js bundle file are exactly same between old and new.

comment:5 Changed 9 years ago by Adam Peller

what is commons.js (your layer file i18n?) and does any of it reference dojo.date or something which uses dojo.cldr? If so, the build should be pulling the gregorian resources into your layer i18n file and not making a separate request. If dojo.cldr is not part of your layer's references and you're using it elsewhere, please confirm that you have taken the build result tree in its entirety and not moved any of its contents

comment:6 Changed 9 years ago by youngho

Yes the commons layer file contains Calendar, so it contains dojo.cldr. Also I have taken all build result tree.

Changed 9 years ago by youngho

Attachment: commons_ko.js added

Changed 9 years ago by youngho

Attachment: commons_ko.xd.js added

comment:7 Changed 9 years ago by youngho

I attach the generated commons_ko bundle files

comment:8 Changed 9 years ago by Adam Peller

is it possible you're referring to a calendar resource outside of a function scope? because of the bootstrapping order, you generally can't rely on these resources being ready until dojo.ready fires, IIRC

comment:9 Changed 9 years ago by youngho

Looks like same problem with #11888

comment:10 Changed 9 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

(In [23059]) Added missing AMD inverse transform in build utility, fixes #11880 and #11888, refs #11869

comment:11 Changed 9 years ago by bill

Milestone: tbd1.6

comment:12 Changed 9 years ago by bill

Component: GeneralLoader
Note: See TracTickets for help on using tickets.