Opened 11 years ago
Closed 11 years ago
#14064 closed defect (fixed)
CLDR data regression on 1.7
Reported by: | mikeb | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Internationalization | Version: | 1.7.0b1 |
Keywords: | Cc: | Ed Chatelain, Evan, cjolif | |
Blocked By: | Blocking: |
Description
The Islamic calendar seems to prevent the usage of the correct resource bundle for this calendar (dojo/cldr/nls/ar/islamic.js).
Move the attached sample in dojox/date/tests and launch it.
The application is in 'ar' locale.
The left most calendar widget is using the Gregorian calendar and is displaying the month names using Arabic characters. The right most calendar widget is using the Islamic calendar and is _not_ displaying month names using Arabic characters.
Seems to be a CLDR problem as determined by the console output of dojo.i18n.getLocalization("dojo.cldr", "islamic"); in 1.7 vs 1.6
Attachments (3)
Change History (10)
Changed 11 years ago by
Attachment: | 14064_Calendar_ar.html added |
---|
comment:1 Changed 11 years ago by
the problem can be reduced to just looking at the generated file at dojo/cldr/nls/ar/islamic. It matches what's in the CLDR XML, but somehow we had logic which copied over the missing data from the Gregorian calendar (e.g. days of the week, which are the same, also "standalone" vs. "format") Evan, do you remember where this happens (in the XSLT?) and do you have any idea what might have gone wrong?
comment:2 Changed 11 years ago by
Cc: | cjolif added |
---|
Changed 11 years ago by
Attachment: | 14064.patch added |
---|
Fixes util/buildscripts/cldr/alias.js to process un-gregorian bundles appropriately
comment:3 Changed 11 years ago by
Milestone: | tbd → 1.7.1 |
---|
comment:4 Changed 11 years ago by
simple patch for xhr provided. Evan notes that dojo.i18n.getLocalizations is failing on Rhino (#14093) Evan, getLocalizations is used in specialLocale and arrayInherit too, not just alias... could this be causing more problems?
comment:5 Changed 11 years ago by
Milestone: | 1.7.1 → 1.7 |
---|---|
Priority: | normal → high |
moving for consideration in rc2
CLDR data test case