I18n clarification needed for 8.4.5 [[LookupSupportedLocalesOf]]

Norbert Lindenberg ecmascript at norbertlindenberg.com
Wed Feb 8 16:54:32 PST 2012

We expect ['sr-Latn-RS']. The idea was that applications can find out which of the locales that they (or their users) request are supported across different services.

An API to return actually supported locales would likely look different.


On Feb 8, 2012, at 15:58 , Nebojša Ćirić wrote:

> I am not sure what result we expect from LookupSupportedLocalesOf.
> Thy way I read the spec is that if user passes requestedLocales = ['sr-Latn-RS'] and supportedLocales = ['sr'] then we would return ['sr-Latn-RS'].
> I feel it would be more useful to return the actual supported locale, in this case ['sr'].
> Implementation wise it's trivial to get either one of those.
> -- 
> Nebojša Ćirić
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

More information about the es-discuss mailing list