Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14048 closed defect (fixed)

"Error: Bundle not found" for locale=de-DE

Reported by: Alexander Kläser Owned by: Rawld Gill
Priority: high Milestone: 1.7.2
Component: General Version: 1.6.1
Keywords: i18n locale Cc:
Blocked By: Blocking:

Description

We came across a problem when setting dojo.locale=de-DE. A call to dojo.i18n.normalizeLocale() would return de-DE, without transforming it to lower case such that we got the following error message when using a custom built JS file:

Error: Bundle not found: validate in dijit.form , locale=de-DE

The attached patch should fix this behavior.

Attachments (1)

fix_normalizeLocale.patch (771 bytes) - added by Alexander Kläser 8 years ago.
Patch

Download all attachments as: .zip

Change History (10)

Changed 8 years ago by Alexander Kläser

Attachment: fix_normalizeLocale.patch added

Patch

comment:1 Changed 8 years ago by Adam Peller

Owner: set to Rawld Gill

comment:2 Changed 8 years ago by Rawld Gill

Status: newassigned

comment:3 Changed 8 years ago by Rawld Gill

Milestone: tbd1.8

comment:4 Changed 8 years ago by Adam Peller

I'd argue for backporting to 1.7 as well, since it's a compatibility issue we'd likely hear about

comment:5 Changed 8 years ago by Rawld Gill

In [27775]:

improved normalizing locale to handle improper dojo.locale capitalization; refs #14048; !strict

comment:6 Changed 8 years ago by Rawld Gill

Resolution: fixed
Status: assignedclosed

In [27779]:

backport [27775]; fixes #14048; !strict

comment:7 Changed 8 years ago by Rawld Gill

In [27780]:

backport [27775]; refs #14048; !strict

comment:8 in reply to:  4 Changed 8 years ago by Rawld Gill

Replying to peller:

I'd argue for backporting to 1.7 as well, since it's a compatibility issue we'd likely hear about

done!

comment:9 Changed 8 years ago by Adam Peller

Milestone: 1.81.7.2
Note: See TracTickets for help on using tickets.