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

CLDR Ticket #8380(design data)

Opened 3 years ago

Last modified 23 months ago

Add units for periodic events

Reported by: mark Owned by: mark
Component: unknown Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description

Split off from ticket:8324

The goal is to be able to say both of the following (for various numbers and periods)

  1. every 3 years
  2. 3 times per year

and do this for years, quarters, months, weeks, and days. (Possibly in the future also hours,...)

For (a), that would involve adding units like:

			<unit type="periodic-year">
				<displayName>period of years</displayName>
				<unitPattern count="one">every {0} year</unitPattern>
				<unitPattern count="other">every {0} years</unitPattern>
			</unit>

In English, it would be sufficient to have a pattern like "every {0}", and compose the duration-year using the current unit, then substitute into that pattern. That wouldn't work for languages that use inflections or other structure that would vary with the number of years.

For (b) Ticket:8324 already has per-year, etc., so if we incorporated a unit 'times', then that would work for English. Might not work for other languages, however. Note: It is a known limitation with all units that we don't attempt to do inflections, just plurals.

Attachments

Change History

comment:1 Changed 3 years ago by emmons

  • Owner changed from anybody to mark
  • Priority changed from assess to critical
  • Type set to data
  • Status changed from new to design
  • Milestone changed from UNSCH to 29

comment:2 Changed 2 years ago by emmons

  • Milestone changed from 29 to upcoming

Automatic move of all 29 -> upcoming

comment:3 Changed 23 months ago by mark

  • Priority changed from critical to major
View

Add a comment

Modify Ticket

Action
as design
Author


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

 
Note: See TracTickets for help on using tickets.