#13906 closed enhancement (fixed)
Upgrade to CLDR v21.0
Reported by: | Adam Peller | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Internationalization | Version: | 1.6.1 |
Keywords: | Cc: | [email protected]…, Evan | |
Blocked By: | Blocking: |
Description (last modified by )
http://unicode-inc.blogspot.com/2012/02/unicode-releases-common-locale-data.html
Somewhere along the line, CLDR added an extra digit to its version numbers (1.9, 2.0, 21.0...)
Attachments (2)
Change History (27)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Type: | defect → enhancement |
comment:2 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 2.0 → 1.8 |
comment:3 Changed 9 years ago by
comment:9 Changed 9 years ago by
Description: | modified (diff) |
---|---|
Summary: | Upgrade to CLDR 2.0 → Upgrade to CLDR v21.0 |
comment:10 follow-up: 11 Changed 9 years ago by
Cc: | Evan added |
---|
inherit script doesn't seem to be working either. for example: dojo/cldr/nls/en/gregorian.js is missing months-standAlone-abbr
comment:11 Changed 9 years ago by
Replying to peller:
inherit script doesn't seem to be working either. for example: dojo/cldr/nls/en/gregorian.js is missing months-standAlone-abbr
Just had a quick try, seems it's related with [email protected] stuff, I simplify the scenario by only applying 'alias.js' to the two attached gregorian.js files(1 under dojo/cldr/nl, 1 under dojo/cldr/nls/en), and also uncomment logstr, then I met with an error saying
"alias: an exception occurred: ReferenceError: "ActiveXObject" is not defined."
which is an exception from alias.js:
try{ var bundle = dojo.i18n.getLocalization('dojo.cldr', BUNDLES[i], locale); //get bundle var nativeSrcBundle = getNativeBundle(jsFileName);//bundle not flattened }catch(e){ logStr += "alias: an exception occurred: "+e;/* simply ignore if no bundle found*/ }
So seems the bundle is not correctly obtained from dojo.i18n.getLocalization() in Rhino
And that's the clue I've found yet
comment:12 Changed 9 years ago by
I think the reason why "months-standAlone-abbr" missed is due to the above exception which stops all follow up steps to process the alias stuff - the expected behavior would be: in dojo/cldr/nls/en/gregorian.js, content of months-standAlone-abbr should be exactly the same as
"months-format-wide": [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ],
as this alias mapping is defined in root dojo/cldr/nls/en/gregorian.js, but this copying is stopped by the exception.
comment:13 Changed 9 years ago by
for starters, the code at the top of cldrUtil that does a "monkey patch" of dojo.xhrGet no longer works in 1.7
In [28071]: