We're updating the issue view to help you get more done. 

Need contextTransforms data for English, "tense" data for others

Description

Deleted Component: other

CLDR is lacking any contextTransforms data for English. We need this at least for formatting the relative fields (e.g. yesterday, today, tomorrow) - the "tense" item - when in a date format. There are some others we could consider adding:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 calendar-field (field names) regex: dates/fields/field[type=*]/displayName examples: Year, Month, Day (currently titlecased in data, but that could change) tense (relative field names) regex: dates/fields/field[type=*]/relative(Time)? examples: yesterday, today, last month, this month, in {0} months, {0} months ago type (names for calendar, collation, number system types) regex: localeDisplayNames/types/type[type=*] examples: Buddhist Calendar, Dictionary Sort Order, Arabic-Indic Digits (currently titlecased in data, but that could change) unit-pattern (unit names) regex: units/unitLength[type=*]/unit[type=*]/unitPattern[count=*] examples: {0} degree / {0} degrees, {0} day / {0} days (currently number is first, titlecase-firstword has no effect)

Proposed addition:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 <contextTransforms> <contextTransformUsage type="calendar-field"> <contextTransform type="stand-alone">titlecase-firstword</contextTransform> <contextTransform type="uiListOrMenu">titlecase-firstword</contextTransform> </contextTransformUsage> <contextTransformUsage type="tense"> <contextTransform type="stand-alone">titlecase-firstword</contextTransform> <contextTransform type="uiListOrMenu">titlecase-firstword</contextTransform> </contextTransformUsage> <contextTransformUsage type="type"> <contextTransform type="stand-alone">titlecase-firstword</contextTransform> <contextTransform type="uiListOrMenu">titlecase-firstword</contextTransform> </contextTransformUsage> </contextTransforms>

Also we should add the "tense" item for other locales, including: cs, el, hr, id, nl, pl, pt, ru, tr, uk (these are ones for which Apple localizers preferred having the equivalent of "yesterday" and "today" capitalized when seeing a list of dates)

Environment

xpath

None

locale

en

Status

Assignee

Peter Edberg

Reporter

Peter Edberg

Labels

tracReporter

pedberg

tracOwner

pedberg

tracResolution

fixed

tracStatus

closed

Reviewer

Mark Davis

tracCc

mark,pedberg

tracCreated

Nov 19, 2013, 9:28 PM

Priority

major