Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1805 closed defect (invalid)

bundle not found exception raised when only "xx" type lang is used

Reported by: jkuhnert Owned by: Adam Peller
Priority: high Milestone:
Component: String Version: 0.4
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by jkuhnert)

-) On a few day old dojo build with all of the default locales "baked" into the build. -) When creating a DropdownDatePicker? using dojo.widget.createWidget() -) Specifically on the web site

Another tapestry developer ran into this issue (he lives in Greece) when trying to run the demo. It happens in such a way that the rest of the system fails out. Here is his message:

"it's the Languages...

In FF i had

Greek [el] English[en] English/UnitedStates?[en-us]

Only when en-us is the first one it works... On all other occasions I get Bundle not found: gregorian in dojo.i18n.calendar , locale=el or Bundle not found: gregorian in dojo.i18n.calendar , locale=en

Why can't dojo use a default bundle if none found ? Perhaps they're working on it ;)"

Change History (3)

comment:1 Changed 15 years ago by jkuhnert

Description: modified (diff)
Owner: changed from psowden to Adam Peller

comment:2 Changed 15 years ago by Adam Peller

Resolution: invalid
Status: newclosed

It's not often in Dojo we can say this, but RTFM :-) or

Specifically the section on locales. The docs may need clarification -- feel free to chime in -- but you need to match the locale as defined by the browser (navigator.language, not preferences) or overridden by djConfig settings, and locales must be specified as in RFC3066. Otherwise, root defaults may be used. It should never fail outright. If it does, please reopen with an example.

comment:3 Changed 15 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.