Comments on behalf of Suresh and me:

Section 6.2.4 DefaultLocale

o   We would like to be able to return a priority list here and not just a 
single item. While many implementations may have just a single item, those that 
are built on top of Windows 8 will have available a list of languages that the 
user has declared to understand instead of just a default user locale that we 
have had up until now. Since this is internal, I believe changing the name to 
DefaultLocales and returning an array will allow implementations to do either:


The DefaultLocales abstract operation returns an array of string values 
representing a priority list of the structurally valid (6.2.2) and 
canonicalized (6.2.3) BCP 47 language tags for the host environment in 
descending order of priority. This may return a single item representing the 
current locale.



*         Section 12.1.1 InitializeNumberFormat

o   Step 10: When initializing NumberFormat, the internal property [[locale]] 
should point to [[dataLocale]] or [[locale]] retruned by ResolveLocale abstract 
operation. For e.g. ResolveLocale returns the following object for the supplied 
language tag  ta-IN-u-nu-tamldec



{
   _dataLocale : "en-US",
   _nu : "tamldec",
   _locale : "en-US-u-nu-tamldec"
}





Should the [[locale]] of NumberFormat point to _dataLocale or _locale ? 
According to the spec it is _locale. I think it should point to _dataLocale.



o   Step 31:  The default value for UseGrouping is set to true. Shouldn't it be 
implementation specific default ?





*         Section 13.3.2 Intl.DateTimeFormat.prototype.format

o   Step 5 & 6 : NumberFormat is constructed without any options. Since this 
will construct the NF object with UseGrouping ON by default the formatted dates 
will have grouping shown for years which look odd. For e.g. we would see years 
like 2,001 instead of 2001. This should specify UseGrouping OFF.


_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to