[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #3439(closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

LanguageMatcher: root matching root

Reported by: mark Owned by: mark
Component: xxx-spec Data Locale:
Phase: Review: yoshito
Weeks: Data Xpath:
Xref:

Description

There is an oddity in language matcher when root (und) is involved. Because adding likely subtags gets und-Latn-US, we get funny results with the following (remember that the lists are preference-ordered.

desired language: {und}
supported language: {it, en}
=> en

or worse yet

desired language: {und, it}
supported language: {en, it}
=> en

Part of this is because 'und' has a special function in BCP47; it stands in for 'no supplied base language'.

To prevent this from happening, if the desired base language is und, the language matcher should not apply likely subtags to it. This should be documented in the spec.

Attachments

Change History

comment:1 Changed 4 years ago by mark

  • Owner changed from somebody to mark
  • Priority changed from assess to medium
  • Status changed from new to assigned
  • Component changed from unknown to spec
  • Milestone changed from UNSCH to 2.0

comment:2 Changed 4 years ago by pedberg

  • Milestone changed from 2.0 to 2.1m1

comment:3 Changed 4 years ago by mark

  • Milestone changed from 21m1 to 21

comment:4 Changed 3 years ago by mark

  • Milestone changed from future to 21.0.1

comment:5 Changed 3 years ago by mark

  • Review set to yoshito

comment:6 Changed 3 years ago by yoshito

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:7 Changed 3 years ago by pedberg

Merged into branches/maint/maint-21 per r6749

View

Add a comment

Modify Ticket

Action
as closed
The ticket will be disowned. The resolution will be deleted. Next status will be 'new'
Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.