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

CLDR Ticket #9187(accepted data)

Opened 15 months ago

Last modified 3 months ago

Add aliases for units, for BCP47

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

Description

Add aliases for units that allow them to work with BCP47 syntax.

consumption-vehicle-fuel
=>
consump-vehicle-fuel

length-visibility
=>
length-visibili

I suggest that we use the first 8 letters, unless that (a) collides, or (b) is just too ugly.

Also, for the future, I suggest that all new units use 8 letters only, so we don't need aliases.

Attachments

Change History

comment:1 Changed 15 months ago by emmons

  • Status changed from new to accepted
  • Component changed from unknown to units
  • Priority changed from assess to medium
  • Phase changed from dsub to rc
  • Milestone changed from UNSCH to 30
  • Owner changed from anybody to mark
  • Type changed from unknown to data

comment:2 Changed 15 months ago by emmons

  • Cc pedberg added

comment:3 Changed 8 months ago by mark

  • Milestone changed from 30 to 31

comment:4 Changed 4 months ago by mark

  • Phase changed from rc to dsub

comment:5 Changed 3 months ago by mark

Issues

This would naturally go into either

supplementalMetadata.xml, like

<languageAlias type="art_lojban" replacement="jbo" reason="deprecated"/> <!-- Lojban -->

or, since this was intended for bcp47, wait until we add a new key, like

en-u-un-length-cm that wouldn't be realistic, since we'd want to have a category, like en-u-un-person-length-cm

However, given that I suggest we hold off making any changes, but we settle on the abbreviation style to use for future allocations of units.


8 characters is a pain. As a first cut, I have the following shortenings.

They are longer than the SI unit abbreviations (where they exist) for legibility, but I think that is probably a mistake. However, the SI abbreviations don't work as is because they are case-sensitive.

Comments?

Category

.put("acceleration", "accel")
.put("temperature", "temp")
.put("frequency", "freq")

Subcategory

.put("revolution", "revol")
.put("centimeter", "cmeter")
.put("kilometer", "kmeter")
.put("milligram", "mgram")
.put("deciliter", "dliter")
.put("millimole", "mmole")
.put("consumption", "consumpt")
.put("100kilometers", "100km")
.put("microsecond", "microsec")
.put("millisecond", "millisec")
.put("nanosecond", "nanosec")
.put("milliampere", "milliamp")
.put("foodcalorie", "foodcal")
.put("kilocalorie", "kilocal")
.put("kilojoule", "kjoule")
.put("gigahertz", "gigahertz")
.put("kilohertz", "khertz")
.put("megahertz", "megahertz")
.put("astronomical", "astro")
.put("decimeter", "dmeter")
.put("micrometer", "micmeter")
.put("scandinavian", "scand")
.put("millimeter", "mmeter")
.put("nanometer", "nanomete")
.put("picometer", "pmeter")
.put("microgram", "migram")
.put("horsepower", "horsep")
.put("milliwatt", "mwatt")
.put("hectopascal", "hpascal")
.put("fahrenheit", "fahren")
.put("centiliter", "cliter")
.put("hectoliter", "hliter")
.put("megaliter", "megliter")
.put("milliliter", "mliter")
.put("tablespoon", "tblspoon")

comment:6 Changed 3 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.