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

CLDR Ticket #4246(closed enhancement: fixed)

Opened 6 years ago

Last modified 3 years ago

Use the import for maintenance, etc.

Reported by: mark Owned by: markus
Component: collation Data Locale:
Phase: rc Review: pedberg
Weeks: 0.1 Data Xpath:
Xref:

Description (last modified by mark) (diff)

With the import feature, we should restructure the CJK collators to move common sequences into separate, internal collators. Example:

old collation/zh.xml

<collation type='unihan'>
	<rules>
		<reset before="secondary">a</reset>
		<s>ā</s>
		<t>Ā</t>
		<s>á</s>
		<t>Á</t>
		<s>ǎ</s>
		<t>Ǎ</t>
		<s>à</s>
		<t>À</t>
...
		<!-- START AUTOGENERATED UNIHAN LONG -->
		<reset><last_non_ignorable /></reset>
               <p>﷐⼀</p><!-- INDEX 1 -->
               <pc>一</pc><!-- 1.0 -->
               <pc>丁丂七丄丅丆𠀀𠀁𠀂</pc><!-- 1.1 -->
               <pc>万丈三上下丌亐卄𠀃𠀄𠀅𠀆𪜀𪜁𫝀</pc><!-- 1.2 -->
               <pc>不与丏丐丑丒专丗𠀇𠀈𠀉𠀊𠀋𠀌𪜂</pc><!-- 1.3 -->
...
    </rules>
</collation>

new common/zh.xml

<collation type='latin-subset'  visibility='internal'>
<rules>
	<reset before="secondary">a</reset>
	<s>ā</s>
	<t>Ā</t>
	<s>á</s>
	<t>Á</t>
	<s>ǎ</s>
	<t>Ǎ</t>
	<s>à</s>
	<t>À</t>
...
    </rules>
</collation>
<collation type='unihan'>
            <rules>
		<import source='latin-subset'>
                <import locale='und-Hani' source='unihan-subset'>
            </rules>
</collation>

new collation/und-Hani.xml

<collation type='unihan-subset' visibility='internal'>
    <rules>
		<!-- START AUTOGENERATED UNIHAN LONG -->
		<reset><last_non_ignorable /></reset>
               <p>﷐⼀</p><!-- INDEX 1 -->
               <pc>一</pc><!-- 1.0 -->
               <pc>丁丂七丄丅丆𠀀𠀁𠀂</pc><!-- 1.1 -->
               <pc>万丈三上下丌亐卄𠀃𠀄𠀅𠀆𪜀𪜁𫝀</pc><!-- 1.2 -->
               <pc>不与丏丐丑丒专丗𠀇𠀈𠀉𠀊𠀋𠀌𪜂</pc><!-- 1.3 -->
...
    </rules>
</collation>

Attachments

Change History

comment:1 Changed 6 years ago by mark

  • Description modified (diff)

comment:2 Changed 6 years ago by emmons

  • Milestone changed from UNSCH to postpone

comment:3 Changed 6 years ago by mark

und-Hani could also be mul-Hani

comment:4 Changed 6 years ago by mark

  • Owner changed from somebody to umesh
  • Priority changed from assess to major
  • Status changed from new to assigned
  • Component changed from unknown to data
  • Milestone changed from postpone to 21

Will not delay release for this, so should be done early.

comment:5 Changed 6 years ago by mark

  • Keywords google added

comment:6 Changed 6 years ago by mark

  • Weeks set to 0.2

comment:7 Changed 6 years ago by umesh

  • Milestone changed from 21 to 22

comment:8 Changed 6 years ago by claireho

  • Owner changed from umesh to claireho

comment:9 Changed 6 years ago by claireho

  • Status changed from assigned to accepted

comment:10 Changed 5 years ago by markus

  • Type changed from defect to enhancement
  • Component changed from data to data-collation

comment:11 Changed 4 years ago by emmons

  • Milestone changed from future to UNSCH

Merging future and UNSCH

comment:12 Changed 3 years ago by markus

  • Owner changed from claireho to markus
  • Status changed from accepted to assigned
  • Milestone changed from UNSCH to 26

comment:13 Changed 3 years ago by markus

  • Cc mark, pedberg, yoshito, emmons added
  • Status changed from assigned to reviewing
  • Weeks changed from 0.2 to 0.1
  • Review set to pedberg
  • Milestone changed from 26 to 26rc

share private-kana & private-pinyin rules, nn import nb, use und not root in import source (according to discussion in April)

I did not create shared unihan rules because I plan to move the unihan order (without a rule string) into the root collator.

comment:14 Changed 3 years ago by markus

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

comment:15 Changed 3 years ago by pedberg

  • 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.