Closed Bug 1670062 Opened 4 months ago Closed 2 months ago

Add support for a "collation" property to the options-bag passed to Intl.Collator

Categories

(Core :: JavaScript: Internationalization API, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: Waldo, Assigned: anba)

References

()

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

The only way to select collation right now is with a tag like "de-u-co-dict", but the spec is acquiring support for specifying collation in options. We should add support for this.

Severity: -- → S3
Priority: -- → P2

Implements the changes from the "has consensus" PR https://github.com/tc39/ecma402/pull/459.

Drive-by change:

  • Enable a named groups RegExp test which wasn't enabled when bug 1362154 was implemented.
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:anba, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(andrebargull)
Flags: needinfo?(andrebargull)
Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7fc74cb51fe1
Support "collation" option in Intl.Collator constructor. r=yulia
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

FYI this has now been documented - see https://github.com/mdn/content/pull/788. There are additional changes to BCD and interactive example linked from https://github.com/mdn/content/issues/293

You need to log in before you can comment on or make changes to this bug.