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

CLDR Ticket #5758(closed: fixed)

Opened 6 years ago

Last modified 4 years ago

Define parentLocale algorithmically for scripts

Reported by: mark Owned by: emmons
Component: xxx-test Data Locale:
Phase: rc Review: mark
Weeks: Data Xpath:
Xref:

Description

I think we should define in LDML, that for all locales "xx_Yyyy":

  • if xx_Yyyy is the default content, the parent is xx.
  • if not, the parent is root.

Then the current line in supplemental data is simply an expression of that (limited to current locales):

<parentLocale parent="root" locales="az_Cyrl bs_Cyrl en_Dsrt ha_Arab mn_Mong pa_Arab shi_Latn sr_Latn uz_Arab uz_Latn vai_Latn zh_Hant"/>

And we should have the unittest that:

For every locale L in CLDR of the form xx_Yyyy:

L is in parentLocale[@locales=*] iff and only if L is not in defaultContent[@locales=*]

See also http://bugs.icu-project.org/trac/ticket/10004

Attachments

Change History

comment:1 Changed 6 years ago by mark

That is, parentLocale would be tested to be complete and consistent with default locales and likely subtags.

comment:2 Changed 6 years ago by mark

  • Owner changed from anybody to mark
  • Priority changed from assess to major
  • Status changed from new to assigned
  • Milestone changed from UNSCH to 24

comment:3 Changed 6 years ago by mark

Collation, change to have same parent locale behavior, but only once implemented in ICU.
have base language do both scripts
non-default script would have reorder/import, maybe different default

In the meantime, document current behavior.

comment:4 Changed 6 years ago by mark

  • Milestone changed from 24final to 24rc

Needs to be at rc because some test/data needs changing.

comment:5 Changed 6 years ago by mark

  • Component changed from unknown to data

Data, spec, SupplementalDataInfo, tests

comment:6 Changed 5 years ago by mark

  • Owner changed from mark to emmons

comment:7 Changed 5 years ago by emmons

  • Component changed from data to data-supplemental

comment:8 Changed 5 years ago by emmons

  • type changed from unknown to enhancement
  • Milestone changed from 24rc to 25design

No time, and not a big deal if this waits. Pushing to 25design...

comment:9 Changed 5 years ago by emmons

  • Milestone changed from 25design to 25rc

Moving all 25dsub and 25design tickets to 25rc. If you plan to complete items in the 25M1 time frame, please move those tickets to 25M1.

comment:10 Changed 5 years ago by emmons

  • Priority changed from major to minor

comment:11 Changed 5 years ago by emmons

  • Milestone changed from 25rc to 26dsub

comment:12 Changed 5 years ago by mark

  • Component changed from data-supplemental to ldml2icu

comment:13 Changed 5 years ago by emmons

  • Component changed from ldml2icu to test

comment:14 Changed 5 years ago by emmons

  • Milestone changed from 26dsub to 26rc

comment:15 Changed 4 years ago by emmons

  • Milestone changed from 26rc to 27rc

Deferring to 27rc

comment:16 Changed 4 years ago by markus

  • Phase set to rc
  • Milestone changed from 27rc to 27

comment:17 Changed 4 years ago by emmons

  • Status changed from assigned to reviewing
  • Review set to mark

comment:18 Changed 4 years ago by mark

  • Status changed from reviewing to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
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.