Opened 13 years ago

Closed 13 years ago

Last modified 13 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 http://opencomponentry.com:8080/timetracker/app

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 13 years ago by jkuhnert

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

comment:2 Changed 13 years ago by Adam Peller

Resolution: invalid
Status: newclosed

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

http://dojo.jot.com/InternationalizationOverview or http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book80

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 13 years ago by (none)

Milestone: 0.4.1

Milestone 0.4.1 deleted

Note: See TracTickets for help on using tickets.