Ecma 402 (i18n API) v2.0 features list

# Nebojša Ćirić (13 years ago)

docs.google.com/spreadsheet/ccc?key=0AhsGcaqNtRMpdC1FVEZOZ2tqdWRHdWdtRkMyaFM3VGc#gid=0

Please take a look at the document. Add new or comment on existing features.

I'll send a calendar invite shortly.

# Norbert Lindenberg (13 years ago)

This list is good input for the meeting. As a reminder of smaller items that didn't make it into edition 1.0, plus some possible enhancements, I also filed some tickets: bugs.ecmascript.org/buglist.cgi?product=ECMAScript Internationalization API&component=Specification Draft&resolution=---

Another feature that's been mentioned are relative dates, e.g., "a moment ago", "3 hours ago", "5 months ago", "in 3 days".

Note that as an Ecma group we have to keep records in standard archives, i.e., wiki.ecmascript.org for feature proposals, bugs.ecmascript.org for smaller items, and members.ecma-international.org for minutes.

Norbert

# Nebojša Ćirić (13 years ago)

We'll send meeting notes to Patrick, and any drafts/strawman will be posted to wiki.

2012/10/2 Norbert Lindenberg <ecmascript at norbertlindenberg.com>

# Gillam, Richard (13 years ago)

Pardon my ignorance, but some sort of analogue to Java's ResourceBundle never makes it onto these lists. Is this out of scope, and if so, is there some sort of standard, recommended way to get that effect in ECMAScript? If not, I'd say that's more important than most of the things on this list.

But out of the things on this list, I'd rank message formatting and time zone support the highest.

--Rich Gillam Lab126

On Sep 27, 2012, at 9:14 AM, Nebojša Ćirić wrote:

docs.google.com/spreadsheet/ccc?key=0AhsGcaqNtRMpdC1FVEZOZ2tqdWRHdWdtRkMyaFM3VGc#gid=0

Please take a look at the document. Add new or comment on existing features.

I'll send a calendar invite shortly.

-- Nebojša Ćirić

# Nebojša Ćirić (13 years ago)

Please add all the features you are interested in to the document - docs.google.com/spreadsheet/ccc?key=0AhsGcaqNtRMpdC1FVEZOZ2tqdWRHdWdtRkMyaFM3VGc#gid=0

2012/10/3 Gillam, Richard <gillam at lab126.com>

# Norbert Lindenberg (13 years ago)

The core problem for a ResourceBundle-style solution, as one expert noted many years ago, is that "ECMAScript also has no I/O facilities, so there's no standard way of getting UI elements out of an external file." [1]

JavaScript libraries that do have access to I/O facilities (XMLHttpRequest, <script> tags, ...) have implemented a variety of solutions. For ECMAScript, the ES6 module system offers a way to dynamically load extensions; Allen and I have chatted about using that for resource loading, but it's not clear yet what that would look like.

It's certainly a topic worth talking about on Friday.

Norbert

[1] icu-project.org/docs/papers/internationalization_support_for_javascript.html#h21

# Gillam, Richard (13 years ago)

Norbert--

The core problem for a ResourceBundle-style solution, as one expert noted many years ago, is that "ECMAScript also has no I/O facilities, so there's no standard way of getting UI elements out of an external file." [1]

Heh. Nice catch. :-)

JavaScript libraries that do have access to I/O facilities (XMLHttpRequest, <script> tags, ...) have implemented a variety of solutions. For ECMAScript, the ES6 module system offers a way to dynamically load extensions; Allen and I have chatted about using that for resource loading, but it's not clear yet what that would look like.

Yeah, this is a challenge. The way we solved it here is very Kindle-specific and was outside of the JavaScript engine itself, so maybe this isn't specifically a problem for JavaScript. But it'd be nice if we had some kind of a story to tell people.

It's certainly a topic worth talking about on Friday.

Great. I'll do my best to be there.