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

CLDR Ticket #9187(design data)

Opened 2 years ago

Last modified 2 months ago

Add aliases for units, for BCP47

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


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



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.


Change History

comment:1 Changed 2 years 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 2 years ago by emmons

  • Cc pedberg added

comment:3 Changed 20 months ago by mark

  • Milestone changed from 30 to 31

comment:4 Changed 16 months ago by mark

  • Phase changed from rc to dsub

comment:5 Changed 16 months ago by mark


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.



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


.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 16 months ago by mark

  • Milestone changed from 31 to 32

comment:7 Changed 8 months ago by mark

  • Milestone changed from 32 to 33

comment:8 Changed 2 months ago by mark

  • Status changed from accepted to design

comment:9 Changed 2 months ago by mark

  • Milestone changed from 33 to 34

Add a comment

Modify Ticket

as design

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

Note: See TracTickets for help on using tickets.