Select null locale as proposed solution & add Intl API specifics #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2
Closes #7
Closes #8
Closes #17
Closes #19
I propose that we advance this proposal by choosing to define the behaviour of the
'zxx'
ornull
locale, with support in most Intl APIs as defined here.The solution of adding corresponding ECMA-262 (rather than ECMA-402) functionality is dismissed as infeasible, as that would require introducing wholly new functions for:
Collation and segmentation have a significant data dependency that's already internalized in 402, but not in 262.
The behaviour for null locale in Intl.Collator and Intl.Segmenter are as proposed by @hsivonen in #13.
At least the following are left to be filled out in later PRs, but there's indubitably more:
Edit: I've prepared a presentation for the changes proposed here.
Edit 2: Updated following changes proposed by TG2