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

CLDR Ticket #8208(accepted tools)

Opened 2 years ago

Last modified 4 months ago

Make language groups be data-driven (partly done)

Reported by: mark Owned by: mark
Component: supplemental Data Locale:
Phase: rc Review:
Weeks: Data Xpath:
Xref:

ticket:8029

Description (last modified by mark) (diff)

Right now these are hardcoded in LanguageGroup.java. Should be data-driven.

Also, extend to more languages as per comments in http://unicode.org/cldr/trac/ticket/8029

Strawman proposal
OLD

public enum LanguageGroup {
    root("root"),
    germanic("gem"), 
...
  add(temp, root, "root");
  add(temp, germanic, "en", "fy", "af", "nl", "de", "gsw", "wae", "ksh", "lb", "fo", "da", "nb", "nn", "sv", "is", "yi");

NEW

  <languageGroups>
    <languageGroup id="unknown" code="und">und</languageGroup> // algorithmically assigned to anything but the following //
    <languageGroup id="other" code="mul">... </languageGroup> // for items not in following groups //
    <languageGroup id="germanic" code="gem">en fy af nl de gsw wae ksh lb fo da nb nn sv is yi</languageGroup>

Attachments

Change History

comment:1 Changed 2 years ago by mark

  • Description modified (diff)

comment:2 Changed 2 years ago by emmons

  • Status changed from new to assigned
  • Component changed from unknown to tools
  • Priority changed from assess to medium
  • Phase changed from dsub to rc
  • Milestone changed from UNSCH to 28
  • Owner changed from anybody to mark

comment:3 Changed 2 years ago by emmons

  • Status changed from assigned to design

comment:4 Changed 2 years ago by mark

Come in with proposal for the data design (Peter suggested adding to supplemental)

comment:5 Changed 2 years ago by srl

  • Owner changed from mark to srl
  • Status changed from design to accepted

comment:6 Changed 2 years ago by srl

  • Owner changed from srl to mark
  • Status changed from accepted to design

comment:7 Changed 2 years ago by srl

  • Xref set to 8029

comment:8 Changed 2 years ago by markus

  • Type set to tools
  • Component changed from tools to unknown

comment:9 Changed 22 months ago by emmons

  • Component changed from unknown to supplemental

comment:10 Changed 21 months ago by mark

  • Milestone changed from 28 to 29

comment:11 Changed 20 months ago by emmons

  • Milestone changed from 29 to upcoming

comment:12 Changed 14 months ago by mark

  • Milestone changed from upcoming to 30

comment:13 Changed 14 months ago by mark

  • Description modified (diff)

comment:14 Changed 14 months ago by mark

  • Status changed from design to accepted

comment:15 Changed 9 months ago by mark

  • Summary changed from Make language groups be data-driven to Make language groups be data-driven (partly done)
  • Milestone changed from 30 to 31

Some of the work is done as part of other tickets. The main() method in LanguageGroup will generate the data.

TODO:

  • The file languageGroups.xml needs to be added to the supplemental data.
  • The dtd needs fixing for that.
  • Supplemental data needs to skip it.
  • LanguageGroup needs to read it.

comment:16 Changed 4 months ago by mark

  • Milestone changed from 31 to 32
View

Add a comment

Modify Ticket

Action
as accepted
Author


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

 
Note: See TracTickets for help on using tickets.