All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squarespace.cldr.numbers._NumberFormatter_lv Maven / Gradle / Ivy

//
//
// AUTO-GENERATED CLASS - DO NOT EDIT
//
//
package com.squarespace.cldr.numbers;

import com.squarespace.cldr.CLDR;
import com.squarespace.cldr.parse.FieldPattern;
import com.squarespace.cldr.plurals.PluralCategory;
import com.squarespace.cldr.units.Unit;
import java.lang.Math;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.EnumMap;
import java.util.List;
import java.util.Map;

public class _NumberFormatter_lv extends NumberFormatterBase {
  protected static final int[] DECIMAL_SHORT_DIVISORS = new int[] { 0,0,0,3,3,3,6,6,6,9,9,9,12,12,12 };

  protected static final NumberPattern[][] DECIMAL_SHORT_ZERO = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("0 tūkst'.'", "-0 tūkst'.'"),
    /*  10K */  patterns("00 tūkst'.'", "-00 tūkst'.'"),
    /* 100K */  patterns("000 tūkst'.'", "-000 tūkst'.'"),
    /*   1M */  patterns("0 milj'.'", "-0 milj'.'"),
    /*  10M */  patterns("00 milj'.'", "-00 milj'.'"),
    /* 100M */  patterns("000 milj'.'", "-000 milj'.'"),
    /*   1B */  patterns("0 mljrd'.'", "-0 mljrd'.'"),
    /*  10B */  patterns("00 mljrd'.'", "-00 mljrd'.'"),
    /* 100B */  patterns("000 mljrd'.'", "-000 mljrd'.'"),
    /*   1T */  patterns("0 trilj'.'", "-0 trilj'.'"),
    /*  10T */  patterns("00 trilj'.'", "-00 trilj'.'"),
    /* 100T */  patterns("000 trilj'.'", "-000 trilj'.'")}
  ;

  protected static final NumberPattern[][] DECIMAL_SHORT_ONE = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("0 tūkst'.'", "-0 tūkst'.'"),
    /*  10K */  patterns("00 tūkst'.'", "-00 tūkst'.'"),
    /* 100K */  patterns("000 tūkst'.'", "-000 tūkst'.'"),
    /*   1M */  patterns("0 milj'.'", "-0 milj'.'"),
    /*  10M */  patterns("00 milj'.'", "-00 milj'.'"),
    /* 100M */  patterns("000 milj'.'", "-000 milj'.'"),
    /*   1B */  patterns("0 mljrd'.'", "-0 mljrd'.'"),
    /*  10B */  patterns("00 mljrd'.'", "-00 mljrd'.'"),
    /* 100B */  patterns("000 mljrd'.'", "-000 mljrd'.'"),
    /*   1T */  patterns("0 trilj'.'", "-0 trilj'.'"),
    /*  10T */  patterns("00 trilj'.'", "-00 trilj'.'"),
    /* 100T */  patterns("000 trilj'.'", "-000 trilj'.'")}
  ;

  protected static final NumberPattern[][] DECIMAL_SHORT_OTHER = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("0 tūkst'.'", "-0 tūkst'.'"),
    /*  10K */  patterns("00 tūkst'.'", "-00 tūkst'.'"),
    /* 100K */  patterns("000 tūkst'.'", "-000 tūkst'.'"),
    /*   1M */  patterns("0 milj'.'", "-0 milj'.'"),
    /*  10M */  patterns("00 milj'.'", "-00 milj'.'"),
    /* 100M */  patterns("000 milj'.'", "-000 milj'.'"),
    /*   1B */  patterns("0 mljrd'.'", "-0 mljrd'.'"),
    /*  10B */  patterns("00 mljrd'.'", "-00 mljrd'.'"),
    /* 100B */  patterns("000 mljrd'.'", "-000 mljrd'.'"),
    /*   1T */  patterns("0 trilj'.'", "-0 trilj'.'"),
    /*  10T */  patterns("00 trilj'.'", "-00 trilj'.'"),
    /* 100T */  patterns("000 trilj'.'", "-000 trilj'.'")}
  ;

  protected static final int[] DECIMAL_LONG_DIVISORS = new int[] { 0,0,0,3,3,3,6,6,6,9,9,9,12,12,12 };

  protected static final NumberPattern[][] DECIMAL_LONG_ZERO = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("0 tūkstoši", "-0 tūkstoši"),
    /*  10K */  patterns("00 tūkstoši", "-00 tūkstoši"),
    /* 100K */  patterns("000 tūkstoši", "-000 tūkstoši"),
    /*   1M */  patterns("0 miljoni", "-0 miljoni"),
    /*  10M */  patterns("00 miljoni", "-00 miljoni"),
    /* 100M */  patterns("000 miljoni", "-000 miljoni"),
    /*   1B */  patterns("0 miljardi", "-0 miljardi"),
    /*  10B */  patterns("00 miljardi", "-00 miljardi"),
    /* 100B */  patterns("000 miljardi", "-000 miljardi"),
    /*   1T */  patterns("0 triljoni", "-0 triljoni"),
    /*  10T */  patterns("00 triljoni", "-00 triljoni"),
    /* 100T */  patterns("000 triljoni", "-000 triljoni")}
  ;

  protected static final NumberPattern[][] DECIMAL_LONG_ONE = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("0 tūkstotis", "-0 tūkstotis"),
    /*  10K */  patterns("00 tūkstotis", "-00 tūkstotis"),
    /* 100K */  patterns("000 tūkstotis", "-000 tūkstotis"),
    /*   1M */  patterns("0 miljons", "-0 miljons"),
    /*  10M */  patterns("00 miljons", "-00 miljons"),
    /* 100M */  patterns("000 miljons", "-000 miljons"),
    /*   1B */  patterns("0 miljards", "-0 miljards"),
    /*  10B */  patterns("00 miljards", "-00 miljards"),
    /* 100B */  patterns("000 miljards", "-000 miljards"),
    /*   1T */  patterns("0 triljons", "-0 triljons"),
    /*  10T */  patterns("00 triljons", "-00 triljons"),
    /* 100T */  patterns("000 triljons", "-000 triljons")}
  ;

  protected static final NumberPattern[][] DECIMAL_LONG_OTHER = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("0 tūkstoši", "-0 tūkstoši"),
    /*  10K */  patterns("00 tūkstoši", "-00 tūkstoši"),
    /* 100K */  patterns("000 tūkstoši", "-000 tūkstoši"),
    /*   1M */  patterns("0 miljoni", "-0 miljoni"),
    /*  10M */  patterns("00 miljoni", "-00 miljoni"),
    /* 100M */  patterns("000 miljoni", "-000 miljoni"),
    /*   1B */  patterns("0 miljardi", "-0 miljardi"),
    /*  10B */  patterns("00 miljardi", "-00 miljardi"),
    /* 100B */  patterns("000 miljardi", "-000 miljardi"),
    /*   1T */  patterns("0 triljoni", "-0 triljoni"),
    /*  10T */  patterns("00 triljoni", "-00 triljoni"),
    /* 100T */  patterns("000 triljoni", "-000 triljoni")}
  ;

  protected static final int[] CURRENCY_SHORT_DIVISORS = new int[] { 0,0,0,3,3,3,6,6,6,9,9,9,12,12,12 };

  protected static final NumberPattern[][] CURRENCY_SHORT_ZERO = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*   10 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*  100 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*   1K */  patterns("0 tūkst'.' ¤", "-0 tūkst'.' ¤"),
    /*  10K */  patterns("00 tūkst'.' ¤", "-00 tūkst'.' ¤"),
    /* 100K */  patterns("000 tūkst'.' ¤", "-000 tūkst'.' ¤"),
    /*   1M */  patterns("0 milj'.' ¤", "-0 milj'.' ¤"),
    /*  10M */  patterns("00 milj'.' ¤", "-00 milj'.' ¤"),
    /* 100M */  patterns("000 milj'.' ¤", "-000 milj'.' ¤"),
    /*   1B */  patterns("0 mljrd'.' ¤", "-0 mljrd'.' ¤"),
    /*  10B */  patterns("¤00 mljrd'.'", "-¤00 mljrd'.'"),
    /* 100B */  patterns("¤000 mljrd'.'", "-¤000 mljrd'.'"),
    /*   1T */  patterns("¤0 trilj'.'", "-¤0 trilj'.'"),
    /*  10T */  patterns("¤00 trilj'.'", "-¤00 trilj'.'"),
    /* 100T */  patterns("¤000 trilj'.'", "-¤000 trilj'.'")}
  ;

  protected static final NumberPattern[][] CURRENCY_SHORT_ONE = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*   10 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*  100 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*   1K */  patterns("0 tūkst'.' ¤", "-0 tūkst'.' ¤"),
    /*  10K */  patterns("00 tūkst'.' ¤", "-00 tūkst'.' ¤"),
    /* 100K */  patterns("000 tūkst'.' ¤", "-000 tūkst'.' ¤"),
    /*   1M */  patterns("0 milj'.' ¤", "-0 milj'.' ¤"),
    /*  10M */  patterns("00 milj'.' ¤", "-00 milj'.' ¤"),
    /* 100M */  patterns("000 milj'.' ¤", "-000 milj'.' ¤"),
    /*   1B */  patterns("0 mljrd'.' ¤", "-0 mljrd'.' ¤"),
    /*  10B */  patterns("¤00 mljrd'.'", "-¤00 mljrd'.'"),
    /* 100B */  patterns("¤000 mljrd'.'", "-¤000 mljrd'.'"),
    /*   1T */  patterns("¤0 trilj'.'", "-¤0 trilj'.'"),
    /*  10T */  patterns("¤00 trilj'.'", "-¤00 trilj'.'"),
    /* 100T */  patterns("¤000 trilj'.'", "-¤000 trilj'.'")}
  ;

  protected static final NumberPattern[][] CURRENCY_SHORT_OTHER = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*   10 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*  100 */  patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
    /*   1K */  patterns("0 tūkst'.' ¤", "-0 tūkst'.' ¤"),
    /*  10K */  patterns("00 tūkst'.' ¤", "-00 tūkst'.' ¤"),
    /* 100K */  patterns("000 tūkst'.' ¤", "-000 tūkst'.' ¤"),
    /*   1M */  patterns("0 milj'.' ¤", "-0 milj'.' ¤"),
    /*  10M */  patterns("00 milj'.' ¤", "-00 milj'.' ¤"),
    /* 100M */  patterns("000 milj'.' ¤", "-000 milj'.' ¤"),
    /*   1B */  patterns("0 mljrd'.' ¤", "-0 mljrd'.' ¤"),
    /*  10B */  patterns("¤00 mljrd'.'", "-¤00 mljrd'.'"),
    /* 100B */  patterns("¤000 mljrd'.'", "-¤000 mljrd'.'"),
    /*   1T */  patterns("¤0 trilj'.'", "-¤0 trilj'.'"),
    /*  10T */  patterns("¤00 trilj'.'", "-¤00 trilj'.'"),
    /* 100T */  patterns("¤000 trilj'.'", "-¤000 trilj'.'")}
  ;

  protected static final Map> UNITS_LONG_ZERO = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("Brīvās krišanas paātrinājums: {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metri sekundē kvadrātā"));
    put(Unit.ARC_MINUTE, unitPattern("{0} leņķa minūtes"));
    put(Unit.ARC_SECOND, unitPattern("{0} leņķa sekundes"));
    put(Unit.DEGREE, unitPattern("{0} grādi"));
    put(Unit.RADIAN, unitPattern("{0} radiāni"));
    put(Unit.REVOLUTION, unitPattern("{0} apgriezieni"));
    put(Unit.ACRE, unitPattern("{0} akri"));
    put(Unit.HECTARE, unitPattern("{0} hektāri"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} kvadrātcentimetri"));
    put(Unit.SQUARE_FOOT, unitPattern("{0} kvadrātpēdas"));
    put(Unit.SQUARE_INCH, unitPattern("{0} kvadrātcollas"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0} kvadrātkilometri"));
    put(Unit.SQUARE_METER, unitPattern("{0} kvadrātmetri"));
    put(Unit.SQUARE_MILE, unitPattern("{0} kvadrātjūdzes"));
    put(Unit.SQUARE_YARD, unitPattern("{0} kvadrātjardi"));
    put(Unit.KARAT, unitPattern("{0} karāti"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} miligrami uz dekalitru"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} milimoli uz litru"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} miljonās daļas"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litri uz 100 kilometriem"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litri uz kilometru"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} jūdzes ar galonu"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} jūdzes ar imp. galonu"));
    put(Unit.BIT, unitPattern("{0} biti"));
    put(Unit.BYTE, unitPattern("{0} baiti"));
    put(Unit.GIGABIT, unitPattern("{0} gigabiti"));
    put(Unit.GIGABYTE, unitPattern("{0} gigabaiti"));
    put(Unit.KILOBIT, unitPattern("{0} kilobiti"));
    put(Unit.KILOBYTE, unitPattern("{0} kilobaiti"));
    put(Unit.MEGABIT, unitPattern("{0} megabiti"));
    put(Unit.MEGABYTE, unitPattern("{0} megabaiti"));
    put(Unit.TERABIT, unitPattern("{0} terabiti"));
    put(Unit.TERABYTE, unitPattern("{0} terabaiti"));
    put(Unit.CENTURY, unitPattern("{0} gadsimti"));
    put(Unit.DAY, unitPattern("{0} dienas"));
    put(Unit.HOUR, unitPattern("{0} stundas"));
    put(Unit.MICROSECOND, unitPattern("{0} mikrosekundes"));
    put(Unit.MILLISECOND, unitPattern("{0} milisekundes"));
    put(Unit.MINUTE, unitPattern("{0} minūtes"));
    put(Unit.MONTH, unitPattern("{0} mēneši"));
    put(Unit.NANOSECOND, unitPattern("{0} nanosekundes"));
    put(Unit.SECOND, unitPattern("{0} sekundes"));
    put(Unit.WEEK, unitPattern("{0} nedēļas"));
    put(Unit.YEAR, unitPattern("{0} gadi"));
    put(Unit.AMPERE, unitPattern("{0} ampēri"));
    put(Unit.MILLIAMPERE, unitPattern("{0} miliampēri"));
    put(Unit.OHM, unitPattern("{0} omi"));
    put(Unit.VOLT, unitPattern("{0} volti"));
    put(Unit.CALORIE, unitPattern("{0} kalorijas"));
    put(Unit.FOODCALORIE, unitPattern("{0} kalorijas"));
    put(Unit.JOULE, unitPattern("{0} džouli"));
    put(Unit.KILOCALORIE, unitPattern("{0} kilokalorijas"));
    put(Unit.KILOJOULE, unitPattern("{0} kilodžouli"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kilovatstundas"));
    put(Unit.GIGAHERTZ, unitPattern("{0} gigaherci"));
    put(Unit.HERTZ, unitPattern("{0} herci"));
    put(Unit.KILOHERTZ, unitPattern("{0} kiloherci"));
    put(Unit.MEGAHERTZ, unitPattern("{0} megaherci"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} astronomiskās vienības"));
    put(Unit.CENTIMETER, unitPattern("{0} centimetri"));
    put(Unit.DECIMETER, unitPattern("{0} decimetri"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0} pēdas"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0} collas"));
    put(Unit.KILOMETER, unitPattern("{0} kilometri"));
    put(Unit.LIGHT_YEAR, unitPattern("{0} gaismas gadi"));
    put(Unit.METER, unitPattern("{0} metri"));
    put(Unit.MICROMETER, unitPattern("{0} mikrometri"));
    put(Unit.MILE, unitPattern("{0} jūdzes"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdzes"));
    put(Unit.MILLIMETER, unitPattern("{0} milimetri"));
    put(Unit.NANOMETER, unitPattern("{0} nanometri"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdzes"));
    put(Unit.PARSEC, unitPattern("{0} parseki"));
    put(Unit.PICOMETER, unitPattern("{0} pikometri"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0} jardi"));
    put(Unit.LUX, unitPattern("{0} luksi"));
    put(Unit.CARAT, unitPattern("{0} karāti"));
    put(Unit.GRAM, unitPattern("{0} grami"));
    put(Unit.KILOGRAM, unitPattern("{0} kilogrami"));
    put(Unit.METRIC_TON, unitPattern("{0} metriskās tonnas"));
    put(Unit.MICROGRAM, unitPattern("{0} mikrogrami"));
    put(Unit.MILLIGRAM, unitPattern("{0} miligrami"));
    put(Unit.OUNCE, unitPattern("{0} unces"));
    put(Unit.OUNCE_TROY, unitPattern("{0} Trojas unces"));
    put(Unit.POUND, unitPattern("{0} mārciņas"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonnas"));
    put(Unit.GIGAWATT, unitPattern("{0} gigavati"));
    put(Unit.HORSEPOWER, unitPattern("{0} zirgspēki"));
    put(Unit.KILOWATT, unitPattern("{0} kilovati"));
    put(Unit.MEGAWATT, unitPattern("{0} megavati"));
    put(Unit.MILLIWATT, unitPattern("{0} milivati"));
    put(Unit.WATT, unitPattern("{0} vati"));
    put(Unit.HECTOPASCAL, unitPattern("{0} hektopaskāli"));
    put(Unit.INCH_HG, unitPattern("{0} dzīvsudraba staba collas"));
    put(Unit.MILLIBAR, unitPattern("{0} milibāri"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} dzīvsudraba staba milimetri"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} mārciņas uz kvadrātcollu"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilometri stundā"));
    put(Unit.KNOT, unitPattern("{0} mezgli"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} metri sekundē"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} jūdzes stundā"));
    put(Unit.CELSIUS, unitPattern("{0} Celsija grādi"));
    put(Unit.FAHRENHEIT, unitPattern("{0} Fārenheita grādi"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} kelvini"));
    put(Unit.ACRE_FOOT, unitPattern("{0} akrpēdas"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} centilitri"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} kubikcentimetri"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} kubikpēdas"));
    put(Unit.CUBIC_INCH, unitPattern("{0} kubikcollas"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0} kubikkilometri"));
    put(Unit.CUBIC_METER, unitPattern("{0} kubikmetri"));
    put(Unit.CUBIC_MILE, unitPattern("{0} kubikjūdzes"));
    put(Unit.CUBIC_YARD, unitPattern("{0} kubikjardi"));
    put(Unit.CUP, unitPattern("{0} glāzes"));
    put(Unit.CUP_METRIC, unitPattern("{0} metriskās glāzes"));
    put(Unit.DECILITER, unitPattern("{0} decilitri"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} šķidruma unces"));
    put(Unit.GALLON, unitPattern("{0} galoni"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imperiālie galoni"));
    put(Unit.HECTOLITER, unitPattern("{0} hektolitri"));
    put(Unit.LITER, unitPattern("{0} litri"));
    put(Unit.MEGALITER, unitPattern("{0} megalitri"));
    put(Unit.MILLILITER, unitPattern("{0} mililitri"));
    put(Unit.PINT, unitPattern("{0} pintes"));
    put(Unit.PINT_METRIC, unitPattern("{0} metriskās pintes"));
    put(Unit.QUART, unitPattern("{0} kvartas"));
    put(Unit.TABLESPOON, unitPattern("{0} ēdamkarotes"));
    put(Unit.TEASPOON, unitPattern("{0} tējkarotes"));
  }};

  protected static final Map> UNITS_LONG_ONE = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("Brīvās krišanas paātrinājums: {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metrs sekundē kvadrātā"));
    put(Unit.ARC_MINUTE, unitPattern("{0} leņķa minūte"));
    put(Unit.ARC_SECOND, unitPattern("{0} leņķa sekunde"));
    put(Unit.DEGREE, unitPattern("{0} grāds"));
    put(Unit.RADIAN, unitPattern("{0} radiāns"));
    put(Unit.REVOLUTION, unitPattern("{0} apgrieziens"));
    put(Unit.ACRE, unitPattern("{0} akrs"));
    put(Unit.HECTARE, unitPattern("{0} hektārs"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} kvadrātcentimetrs"));
    put(Unit.SQUARE_FOOT, unitPattern("{0} kvadrātpēda"));
    put(Unit.SQUARE_INCH, unitPattern("{0} kvadrātcolla"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0} kvadrātkilometrs"));
    put(Unit.SQUARE_METER, unitPattern("{0} kvadrātmetrs"));
    put(Unit.SQUARE_MILE, unitPattern("{0} kvadrātjūdze"));
    put(Unit.SQUARE_YARD, unitPattern("{0} kvadrātjards"));
    put(Unit.KARAT, unitPattern("{0} karāts"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} miligrams uz dekalitru"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} milimols uz litru"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} miljonā daļa"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litrs uz 100 kilometriem"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litrs uz kilometru"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} jūdze ar galonu"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} jūdze ar imp. galonu"));
    put(Unit.BIT, unitPattern("{0} bits"));
    put(Unit.BYTE, unitPattern("{0} baits"));
    put(Unit.GIGABIT, unitPattern("{0} gigabits"));
    put(Unit.GIGABYTE, unitPattern("{0} gigabaits"));
    put(Unit.KILOBIT, unitPattern("{0} kilobits"));
    put(Unit.KILOBYTE, unitPattern("{0} kilobaits"));
    put(Unit.MEGABIT, unitPattern("{0} megabits"));
    put(Unit.MEGABYTE, unitPattern("{0} megabaits"));
    put(Unit.TERABIT, unitPattern("{0} terabits"));
    put(Unit.TERABYTE, unitPattern("{0} terabaits"));
    put(Unit.CENTURY, unitPattern("{0} gadsimts"));
    put(Unit.DAY, unitPattern("{0} diena"));
    put(Unit.HOUR, unitPattern("{0} stunda"));
    put(Unit.MICROSECOND, unitPattern("{0} mikrosekunde"));
    put(Unit.MILLISECOND, unitPattern("{0} milisekunde"));
    put(Unit.MINUTE, unitPattern("{0} minūte"));
    put(Unit.MONTH, unitPattern("{0} mēnesis"));
    put(Unit.NANOSECOND, unitPattern("{0} nanosekunde"));
    put(Unit.SECOND, unitPattern("{0} sekunde"));
    put(Unit.WEEK, unitPattern("{0} nedēļa"));
    put(Unit.YEAR, unitPattern("{0} gads"));
    put(Unit.AMPERE, unitPattern("{0} ampērs"));
    put(Unit.MILLIAMPERE, unitPattern("{0} miliampērs"));
    put(Unit.OHM, unitPattern("{0} oms"));
    put(Unit.VOLT, unitPattern("{0} volts"));
    put(Unit.CALORIE, unitPattern("{0} kalorija"));
    put(Unit.FOODCALORIE, unitPattern("{0} kalorija"));
    put(Unit.JOULE, unitPattern("{0} džouls"));
    put(Unit.KILOCALORIE, unitPattern("{0} kilokalorija"));
    put(Unit.KILOJOULE, unitPattern("{0} kilodžouls"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kilovatstunda"));
    put(Unit.GIGAHERTZ, unitPattern("{0} gigahercs"));
    put(Unit.HERTZ, unitPattern("{0} hercs"));
    put(Unit.KILOHERTZ, unitPattern("{0} kilohercs"));
    put(Unit.MEGAHERTZ, unitPattern("{0} megahercs"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} astronomiskā vienība"));
    put(Unit.CENTIMETER, unitPattern("{0} centimetrs"));
    put(Unit.DECIMETER, unitPattern("{0} decimetrs"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0} pēda"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0} colla"));
    put(Unit.KILOMETER, unitPattern("{0} kilometrs"));
    put(Unit.LIGHT_YEAR, unitPattern("{0} gaismas gads"));
    put(Unit.METER, unitPattern("{0} metrs"));
    put(Unit.MICROMETER, unitPattern("{0} mikrometrs"));
    put(Unit.MILE, unitPattern("{0} jūdze"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdze"));
    put(Unit.MILLIMETER, unitPattern("{0} milimetrs"));
    put(Unit.NANOMETER, unitPattern("{0} nanometrs"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdze"));
    put(Unit.PARSEC, unitPattern("{0} parseks"));
    put(Unit.PICOMETER, unitPattern("{0} pikometrs"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0} jards"));
    put(Unit.LUX, unitPattern("{0} lukss"));
    put(Unit.CARAT, unitPattern("{0} karāts"));
    put(Unit.GRAM, unitPattern("{0} grams"));
    put(Unit.KILOGRAM, unitPattern("{0} kilograms"));
    put(Unit.METRIC_TON, unitPattern("{0} metriskā tonna"));
    put(Unit.MICROGRAM, unitPattern("{0} mikrograms"));
    put(Unit.MILLIGRAM, unitPattern("{0} miligrams"));
    put(Unit.OUNCE, unitPattern("{0} unce"));
    put(Unit.OUNCE_TROY, unitPattern("{0} Trojas unce"));
    put(Unit.POUND, unitPattern("{0} mārciņa"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonna"));
    put(Unit.GIGAWATT, unitPattern("{0} gigavats"));
    put(Unit.HORSEPOWER, unitPattern("{0} zirgspēks"));
    put(Unit.KILOWATT, unitPattern("{0} kilovats"));
    put(Unit.MEGAWATT, unitPattern("{0} megavats"));
    put(Unit.MILLIWATT, unitPattern("{0} milivats"));
    put(Unit.WATT, unitPattern("{0} vats"));
    put(Unit.HECTOPASCAL, unitPattern("{0} hektopaskāls"));
    put(Unit.INCH_HG, unitPattern("{0} dzīvsudraba staba colla"));
    put(Unit.MILLIBAR, unitPattern("{0} milibārs"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} dzīvsudraba staba milimetrs"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} mārciņa uz kvadrātcollu"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilometrs stundā"));
    put(Unit.KNOT, unitPattern("{0} mezgls"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} metrs sekundē"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} jūdze stundā"));
    put(Unit.CELSIUS, unitPattern("{0} Celsija grāds"));
    put(Unit.FAHRENHEIT, unitPattern("{0} Fārenheita grāds"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} kelvins"));
    put(Unit.ACRE_FOOT, unitPattern("{0} akrpēda"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} centilitrs"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} kubikcentimetrs"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} kubikpēda"));
    put(Unit.CUBIC_INCH, unitPattern("{0} kubikcolla"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0} kubikkilometrs"));
    put(Unit.CUBIC_METER, unitPattern("{0} kubikmetrs"));
    put(Unit.CUBIC_MILE, unitPattern("{0} kubikjūdze"));
    put(Unit.CUBIC_YARD, unitPattern("{0} kubikjards"));
    put(Unit.CUP, unitPattern("{0} glāze"));
    put(Unit.CUP_METRIC, unitPattern("{0} metriskā glāze"));
    put(Unit.DECILITER, unitPattern("{0} decilitrs"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} šķidruma unce"));
    put(Unit.GALLON, unitPattern("{0} galons"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imperiālais galons"));
    put(Unit.HECTOLITER, unitPattern("{0} hektolitrs"));
    put(Unit.LITER, unitPattern("{0} litrs"));
    put(Unit.MEGALITER, unitPattern("{0} megalitrs"));
    put(Unit.MILLILITER, unitPattern("{0} mililitrs"));
    put(Unit.PINT, unitPattern("{0} pinte"));
    put(Unit.PINT_METRIC, unitPattern("{0} metriskā pinte"));
    put(Unit.QUART, unitPattern("{0} kvarta"));
    put(Unit.TABLESPOON, unitPattern("{0} ēdamkarote"));
    put(Unit.TEASPOON, unitPattern("{0} tējkarote"));
  }};

  protected static final Map> UNITS_LONG_OTHER = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("Brīvās krišanas paātrinājums: {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} metri sekundē kvadrātā"));
    put(Unit.ARC_MINUTE, unitPattern("{0} leņķa minūtes"));
    put(Unit.ARC_SECOND, unitPattern("{0} leņķa sekundes"));
    put(Unit.DEGREE, unitPattern("{0} grādi"));
    put(Unit.RADIAN, unitPattern("{0} radiāni"));
    put(Unit.REVOLUTION, unitPattern("{0} apgriezieni"));
    put(Unit.ACRE, unitPattern("{0} akri"));
    put(Unit.HECTARE, unitPattern("{0} hektāri"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} kvadrātcentimetri"));
    put(Unit.SQUARE_FOOT, unitPattern("{0} kvadrātpēdas"));
    put(Unit.SQUARE_INCH, unitPattern("{0} kvadrātcollas"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0} kvadrātkilometri"));
    put(Unit.SQUARE_METER, unitPattern("{0} kvadrātmetri"));
    put(Unit.SQUARE_MILE, unitPattern("{0} kvadrātjūdzes"));
    put(Unit.SQUARE_YARD, unitPattern("{0} kvadrātjardi"));
    put(Unit.KARAT, unitPattern("{0} karāti"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} miligrami uz dekalitru"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} milimoli uz litru"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} miljonās daļas"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} litri uz 100 kilometriem"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} litri uz kilometru"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} jūdzes ar galonu"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} jūdzes ar imp. galonu"));
    put(Unit.BIT, unitPattern("{0} biti"));
    put(Unit.BYTE, unitPattern("{0} baiti"));
    put(Unit.GIGABIT, unitPattern("{0} gigabiti"));
    put(Unit.GIGABYTE, unitPattern("{0} gigabaiti"));
    put(Unit.KILOBIT, unitPattern("{0} kilobiti"));
    put(Unit.KILOBYTE, unitPattern("{0} kilobaiti"));
    put(Unit.MEGABIT, unitPattern("{0} megabiti"));
    put(Unit.MEGABYTE, unitPattern("{0} megabaits"));
    put(Unit.TERABIT, unitPattern("{0} terabiti"));
    put(Unit.TERABYTE, unitPattern("{0} terabaiti"));
    put(Unit.CENTURY, unitPattern("{0} gadsimti"));
    put(Unit.DAY, unitPattern("{0} dienas"));
    put(Unit.HOUR, unitPattern("{0} stundas"));
    put(Unit.MICROSECOND, unitPattern("{0} mikrosekundes"));
    put(Unit.MILLISECOND, unitPattern("{0} milisekundes"));
    put(Unit.MINUTE, unitPattern("{0} minūtes"));
    put(Unit.MONTH, unitPattern("{0} mēneši"));
    put(Unit.NANOSECOND, unitPattern("{0} nanosekundes"));
    put(Unit.SECOND, unitPattern("{0} sekundes"));
    put(Unit.WEEK, unitPattern("{0} nedēļas"));
    put(Unit.YEAR, unitPattern("{0} gadi"));
    put(Unit.AMPERE, unitPattern("{0} ampēri"));
    put(Unit.MILLIAMPERE, unitPattern("{0} miliampēri"));
    put(Unit.OHM, unitPattern("{0} omi"));
    put(Unit.VOLT, unitPattern("{0} volti"));
    put(Unit.CALORIE, unitPattern("{0} kalorijas"));
    put(Unit.FOODCALORIE, unitPattern("{0} kalorijas"));
    put(Unit.JOULE, unitPattern("{0} džouli"));
    put(Unit.KILOCALORIE, unitPattern("{0} kilokalorijas"));
    put(Unit.KILOJOULE, unitPattern("{0} kilodžouli"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kilovatstundas"));
    put(Unit.GIGAHERTZ, unitPattern("{0} gigaherci"));
    put(Unit.HERTZ, unitPattern("{0} herci"));
    put(Unit.KILOHERTZ, unitPattern("{0} kiloherci"));
    put(Unit.MEGAHERTZ, unitPattern("{0} megaherci"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} astronomiskās vienības"));
    put(Unit.CENTIMETER, unitPattern("{0} centimetri"));
    put(Unit.DECIMETER, unitPattern("{0} decimetri"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0} pēdas"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0} collas"));
    put(Unit.KILOMETER, unitPattern("{0} kilometri"));
    put(Unit.LIGHT_YEAR, unitPattern("{0} gaismas gadi"));
    put(Unit.METER, unitPattern("{0} metri"));
    put(Unit.MICROMETER, unitPattern("{0} mikrometri"));
    put(Unit.MILE, unitPattern("{0} jūdzes"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdzes"));
    put(Unit.MILLIMETER, unitPattern("{0} milimetri"));
    put(Unit.NANOMETER, unitPattern("{0} nanometri"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdzes"));
    put(Unit.PARSEC, unitPattern("{0} parseki"));
    put(Unit.PICOMETER, unitPattern("{0} pikometri"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0} jardi"));
    put(Unit.LUX, unitPattern("{0} luksi"));
    put(Unit.CARAT, unitPattern("{0} karāti"));
    put(Unit.GRAM, unitPattern("{0} grami"));
    put(Unit.KILOGRAM, unitPattern("{0} kilogrami"));
    put(Unit.METRIC_TON, unitPattern("{0} metriskās tonnas"));
    put(Unit.MICROGRAM, unitPattern("{0} mikrogrami"));
    put(Unit.MILLIGRAM, unitPattern("{0} miligrami"));
    put(Unit.OUNCE, unitPattern("{0} unces"));
    put(Unit.OUNCE_TROY, unitPattern("{0} Trojas unces"));
    put(Unit.POUND, unitPattern("{0} mārciņas"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonnas"));
    put(Unit.GIGAWATT, unitPattern("{0} gigavati"));
    put(Unit.HORSEPOWER, unitPattern("{0} zirgspēki"));
    put(Unit.KILOWATT, unitPattern("{0} kilovati"));
    put(Unit.MEGAWATT, unitPattern("{0} megavati"));
    put(Unit.MILLIWATT, unitPattern("{0} milivati"));
    put(Unit.WATT, unitPattern("{0} vati"));
    put(Unit.HECTOPASCAL, unitPattern("{0} hektopaskāli"));
    put(Unit.INCH_HG, unitPattern("{0} dzīvsudraba staba collas"));
    put(Unit.MILLIBAR, unitPattern("{0} milibāri"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} dzīvsudraba staba milimetri"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} mārciņas uz kvadrātcollu"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} kilometri stundā"));
    put(Unit.KNOT, unitPattern("{0} mezgli"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} metri sekundē"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} jūdzes stundā"));
    put(Unit.CELSIUS, unitPattern("{0} Celsija grādi"));
    put(Unit.FAHRENHEIT, unitPattern("{0} Fārenheita grādi"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} kelvini"));
    put(Unit.ACRE_FOOT, unitPattern("{0} akrpēdas"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} centilitri"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} kubikcentimetri"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} kubikpēdas"));
    put(Unit.CUBIC_INCH, unitPattern("{0} kubikcollas"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0} kubikkilometri"));
    put(Unit.CUBIC_METER, unitPattern("{0} kubikmetri"));
    put(Unit.CUBIC_MILE, unitPattern("{0} kubikjūdzes"));
    put(Unit.CUBIC_YARD, unitPattern("{0} kubikjardi"));
    put(Unit.CUP, unitPattern("{0} glāzes"));
    put(Unit.CUP_METRIC, unitPattern("{0} metriskās glāzes"));
    put(Unit.DECILITER, unitPattern("{0} decilitri"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} šķidruma unces"));
    put(Unit.GALLON, unitPattern("{0} galoni"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imperiālie galoni"));
    put(Unit.HECTOLITER, unitPattern("{0} hektolitri"));
    put(Unit.LITER, unitPattern("{0} litri"));
    put(Unit.MEGALITER, unitPattern("{0} megalitri"));
    put(Unit.MILLILITER, unitPattern("{0} mililitri"));
    put(Unit.PINT, unitPattern("{0} pintes"));
    put(Unit.PINT_METRIC, unitPattern("{0} metriskās pintes"));
    put(Unit.QUART, unitPattern("{0} kvartas"));
    put(Unit.TABLESPOON, unitPattern("{0} ēdamkarotes"));
    put(Unit.TEASPOON, unitPattern("{0} tējkarotes"));
  }};

  protected static final Map> UNITS_NARROW_ZERO = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("{0}G"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("{0} rad"));
    put(Unit.REVOLUTION, unitPattern("{0} apgr."));
    put(Unit.ACRE, unitPattern("{0}ac"));
    put(Unit.HECTARE, unitPattern("{0}ha"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
    put(Unit.SQUARE_FOOT, unitPattern("{0}ft²"));
    put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0}km²"));
    put(Unit.SQUARE_METER, unitPattern("{0}m²"));
    put(Unit.SQUARE_MILE, unitPattern("{0}mi²"));
    put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
    put(Unit.KARAT, unitPattern("{0} kt"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("{0} b"));
    put(Unit.BYTE, unitPattern("{0} B"));
    put(Unit.GIGABIT, unitPattern("{0} Gb"));
    put(Unit.GIGABYTE, unitPattern("{0} GB"));
    put(Unit.KILOBIT, unitPattern("{0} Kb"));
    put(Unit.KILOBYTE, unitPattern("{0} KB"));
    put(Unit.MEGABIT, unitPattern("{0} Mb"));
    put(Unit.MEGABYTE, unitPattern("{0} MB"));
    put(Unit.TERABIT, unitPattern("{0} Tb"));
    put(Unit.TERABYTE, unitPattern("{0} TB"));
    put(Unit.CENTURY, unitPattern("{0} gs."));
    put(Unit.DAY, unitPattern("{0}d"));
    put(Unit.HOUR, unitPattern("{0}h"));
    put(Unit.MICROSECOND, unitPattern("{0} μs"));
    put(Unit.MILLISECOND, unitPattern("{0}ms"));
    put(Unit.MINUTE, unitPattern("{0} min"));
    put(Unit.MONTH, unitPattern("{0} mēn."));
    put(Unit.NANOSECOND, unitPattern("{0} ns"));
    put(Unit.SECOND, unitPattern("{0}s"));
    put(Unit.WEEK, unitPattern("{0} ned."));
    put(Unit.YEAR, unitPattern("{0}g."));
    put(Unit.AMPERE, unitPattern("{0} A"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("{0} V"));
    put(Unit.CALORIE, unitPattern("{0} cal"));
    put(Unit.FOODCALORIE, unitPattern("{0} cal"));
    put(Unit.JOULE, unitPattern("{0} J"));
    put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
    put(Unit.KILOJOULE, unitPattern("{0} kJ"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
    put(Unit.HERTZ, unitPattern("{0} Hz"));
    put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
    put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} a.v."));
    put(Unit.CENTIMETER, unitPattern("{0}cm"));
    put(Unit.DECIMETER, unitPattern("{0} dm"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0}ft"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0}in"));
    put(Unit.KILOMETER, unitPattern("{0}km"));
    put(Unit.LIGHT_YEAR, unitPattern("{0}g.g."));
    put(Unit.METER, unitPattern("{0}m"));
    put(Unit.MICROMETER, unitPattern("{0} µm"));
    put(Unit.MILE, unitPattern("{0}mi"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdzes"));
    put(Unit.MILLIMETER, unitPattern("{0}mm"));
    put(Unit.NANOMETER, unitPattern("{0} nm"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdzes"));
    put(Unit.PARSEC, unitPattern("{0} parseki"));
    put(Unit.PICOMETER, unitPattern("{0}pm"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0}yd"));
    put(Unit.LUX, unitPattern("{0} lx"));
    put(Unit.CARAT, unitPattern("{0} CD"));
    put(Unit.GRAM, unitPattern("{0}g"));
    put(Unit.KILOGRAM, unitPattern("{0}kg"));
    put(Unit.METRIC_TON, unitPattern("{0} t"));
    put(Unit.MICROGRAM, unitPattern("{0} µg"));
    put(Unit.MILLIGRAM, unitPattern("{0} mg"));
    put(Unit.OUNCE, unitPattern("{0}oz"));
    put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
    put(Unit.POUND, unitPattern("{0}lb"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonnas"));
    put(Unit.GIGAWATT, unitPattern("{0} GW"));
    put(Unit.HORSEPOWER, unitPattern("{0} ZS"));
    put(Unit.KILOWATT, unitPattern("{0}kW"));
    put(Unit.MEGAWATT, unitPattern("{0} MW"));
    put(Unit.MILLIWATT, unitPattern("{0} mW"));
    put(Unit.WATT, unitPattern("{0}W"));
    put(Unit.HECTOPASCAL, unitPattern("{0}hPa"));
    put(Unit.INCH_HG, unitPattern("{0}inHg"));
    put(Unit.MILLIBAR, unitPattern("{0}mbar"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0}km/h"));
    put(Unit.KNOT, unitPattern("{0} mezgli"));
    put(Unit.METER_PER_SECOND, unitPattern("{0}m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0}mi/h"));
    put(Unit.CELSIUS, unitPattern("{0} °C"));
    put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} K"));
    put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} cl"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
    put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0}km³"));
    put(Unit.CUBIC_METER, unitPattern("{0} m³"));
    put(Unit.CUBIC_MILE, unitPattern("{0}mi³"));
    put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
    put(Unit.CUP, unitPattern("{0} gl."));
    put(Unit.CUP_METRIC, unitPattern("{0} metr.gl."));
    put(Unit.DECILITER, unitPattern("{0} dl"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
    put(Unit.GALLON, unitPattern("{0} gal"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imp. gal."));
    put(Unit.HECTOLITER, unitPattern("{0} hl"));
    put(Unit.LITER, unitPattern("{0}l"));
    put(Unit.MEGALITER, unitPattern("{0} ML"));
    put(Unit.MILLILITER, unitPattern("{0} ml"));
    put(Unit.PINT, unitPattern("{0} pt"));
    put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
    put(Unit.QUART, unitPattern("{0} qt"));
    put(Unit.TABLESPOON, unitPattern("{0} ĒK"));
    put(Unit.TEASPOON, unitPattern("{0} TK"));
  }};

  protected static final Map> UNITS_NARROW_ONE = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("{0}G"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("{0} rad"));
    put(Unit.REVOLUTION, unitPattern("{0} apgr."));
    put(Unit.ACRE, unitPattern("{0}ac"));
    put(Unit.HECTARE, unitPattern("{0}ha"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
    put(Unit.SQUARE_FOOT, unitPattern("{0}ft²"));
    put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0}km²"));
    put(Unit.SQUARE_METER, unitPattern("{0}m²"));
    put(Unit.SQUARE_MILE, unitPattern("{0}mi²"));
    put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
    put(Unit.KARAT, unitPattern("{0} kt"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("{0} b"));
    put(Unit.BYTE, unitPattern("{0} B"));
    put(Unit.GIGABIT, unitPattern("{0} Gb"));
    put(Unit.GIGABYTE, unitPattern("{0} GB"));
    put(Unit.KILOBIT, unitPattern("{0} Kb"));
    put(Unit.KILOBYTE, unitPattern("{0} KB"));
    put(Unit.MEGABIT, unitPattern("{0} Mb"));
    put(Unit.MEGABYTE, unitPattern("{0} MB"));
    put(Unit.TERABIT, unitPattern("{0} Tb"));
    put(Unit.TERABYTE, unitPattern("{0} TB"));
    put(Unit.CENTURY, unitPattern("{0} gs."));
    put(Unit.DAY, unitPattern("{0}d"));
    put(Unit.HOUR, unitPattern("{0}h"));
    put(Unit.MICROSECOND, unitPattern("{0} μs"));
    put(Unit.MILLISECOND, unitPattern("{0}ms"));
    put(Unit.MINUTE, unitPattern("{0} min"));
    put(Unit.MONTH, unitPattern("{0} mēn."));
    put(Unit.NANOSECOND, unitPattern("{0} ns"));
    put(Unit.SECOND, unitPattern("{0}s"));
    put(Unit.WEEK, unitPattern("{0} ned."));
    put(Unit.YEAR, unitPattern("{0}g."));
    put(Unit.AMPERE, unitPattern("{0} A"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("{0} V"));
    put(Unit.CALORIE, unitPattern("{0} cal"));
    put(Unit.FOODCALORIE, unitPattern("{0} cal"));
    put(Unit.JOULE, unitPattern("{0} J"));
    put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
    put(Unit.KILOJOULE, unitPattern("{0} kJ"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
    put(Unit.HERTZ, unitPattern("{0} Hz"));
    put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
    put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} a.v."));
    put(Unit.CENTIMETER, unitPattern("{0}cm"));
    put(Unit.DECIMETER, unitPattern("{0} dm"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0}ft"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0}in"));
    put(Unit.KILOMETER, unitPattern("{0}km"));
    put(Unit.LIGHT_YEAR, unitPattern("{0}g.g."));
    put(Unit.METER, unitPattern("{0}m"));
    put(Unit.MICROMETER, unitPattern("{0} µm"));
    put(Unit.MILE, unitPattern("{0}mi"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdze"));
    put(Unit.MILLIMETER, unitPattern("{0}mm"));
    put(Unit.NANOMETER, unitPattern("{0} nm"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdze"));
    put(Unit.PARSEC, unitPattern("{0} parseks"));
    put(Unit.PICOMETER, unitPattern("{0}pm"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0}yd"));
    put(Unit.LUX, unitPattern("{0} lx"));
    put(Unit.CARAT, unitPattern("{0} CD"));
    put(Unit.GRAM, unitPattern("{0}g"));
    put(Unit.KILOGRAM, unitPattern("{0}kg"));
    put(Unit.METRIC_TON, unitPattern("{0} t"));
    put(Unit.MICROGRAM, unitPattern("{0} µg"));
    put(Unit.MILLIGRAM, unitPattern("{0} mg"));
    put(Unit.OUNCE, unitPattern("{0}oz"));
    put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
    put(Unit.POUND, unitPattern("{0}lb"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonna"));
    put(Unit.GIGAWATT, unitPattern("{0} GW"));
    put(Unit.HORSEPOWER, unitPattern("{0} ZS"));
    put(Unit.KILOWATT, unitPattern("{0}kW"));
    put(Unit.MEGAWATT, unitPattern("{0} MW"));
    put(Unit.MILLIWATT, unitPattern("{0} mW"));
    put(Unit.WATT, unitPattern("{0}W"));
    put(Unit.HECTOPASCAL, unitPattern("{0}hPa"));
    put(Unit.INCH_HG, unitPattern("{0}inHg"));
    put(Unit.MILLIBAR, unitPattern("{0}mbar"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0}km/h"));
    put(Unit.KNOT, unitPattern("{0} mezgls"));
    put(Unit.METER_PER_SECOND, unitPattern("{0}m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0}mi/h"));
    put(Unit.CELSIUS, unitPattern("{0} °C"));
    put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} K"));
    put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} cl"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
    put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0}km³"));
    put(Unit.CUBIC_METER, unitPattern("{0} m³"));
    put(Unit.CUBIC_MILE, unitPattern("{0}mi³"));
    put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
    put(Unit.CUP, unitPattern("{0} gl."));
    put(Unit.CUP_METRIC, unitPattern("{0} metr.gl."));
    put(Unit.DECILITER, unitPattern("{0} dl"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
    put(Unit.GALLON, unitPattern("{0} gal"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imp. gal."));
    put(Unit.HECTOLITER, unitPattern("{0} hl"));
    put(Unit.LITER, unitPattern("{0}l"));
    put(Unit.MEGALITER, unitPattern("{0} ML"));
    put(Unit.MILLILITER, unitPattern("{0} ml"));
    put(Unit.PINT, unitPattern("{0} pt"));
    put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
    put(Unit.QUART, unitPattern("{0} qt"));
    put(Unit.TABLESPOON, unitPattern("{0} ĒK"));
    put(Unit.TEASPOON, unitPattern("{0} TK"));
  }};

  protected static final Map> UNITS_NARROW_OTHER = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("{0}G"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("{0} rad"));
    put(Unit.REVOLUTION, unitPattern("{0} apgr."));
    put(Unit.ACRE, unitPattern("{0}ac"));
    put(Unit.HECTARE, unitPattern("{0}ha"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
    put(Unit.SQUARE_FOOT, unitPattern("{0}ft²"));
    put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0}km²"));
    put(Unit.SQUARE_METER, unitPattern("{0}m²"));
    put(Unit.SQUARE_MILE, unitPattern("{0}mi²"));
    put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
    put(Unit.KARAT, unitPattern("{0} kt"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("{0} b"));
    put(Unit.BYTE, unitPattern("{0} B"));
    put(Unit.GIGABIT, unitPattern("{0} Gb"));
    put(Unit.GIGABYTE, unitPattern("{0} GB"));
    put(Unit.KILOBIT, unitPattern("{0} Kb"));
    put(Unit.KILOBYTE, unitPattern("{0} KB"));
    put(Unit.MEGABIT, unitPattern("{0} Mb"));
    put(Unit.MEGABYTE, unitPattern("{0} MB"));
    put(Unit.TERABIT, unitPattern("{0} Tb"));
    put(Unit.TERABYTE, unitPattern("{0} TB"));
    put(Unit.CENTURY, unitPattern("{0} gs."));
    put(Unit.DAY, unitPattern("{0}d"));
    put(Unit.HOUR, unitPattern("{0}h"));
    put(Unit.MICROSECOND, unitPattern("{0} μs"));
    put(Unit.MILLISECOND, unitPattern("{0}ms"));
    put(Unit.MINUTE, unitPattern("{0} min"));
    put(Unit.MONTH, unitPattern("{0} mēn."));
    put(Unit.NANOSECOND, unitPattern("{0} ns"));
    put(Unit.SECOND, unitPattern("{0}s"));
    put(Unit.WEEK, unitPattern("{0} ned."));
    put(Unit.YEAR, unitPattern("{0}g."));
    put(Unit.AMPERE, unitPattern("{0} A"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("{0} V"));
    put(Unit.CALORIE, unitPattern("{0} cal"));
    put(Unit.FOODCALORIE, unitPattern("{0} cal"));
    put(Unit.JOULE, unitPattern("{0} J"));
    put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
    put(Unit.KILOJOULE, unitPattern("{0} kJ"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
    put(Unit.HERTZ, unitPattern("{0} Hz"));
    put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
    put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} a.v."));
    put(Unit.CENTIMETER, unitPattern("{0}cm"));
    put(Unit.DECIMETER, unitPattern("{0} dm"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0}ft"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0}in"));
    put(Unit.KILOMETER, unitPattern("{0}km"));
    put(Unit.LIGHT_YEAR, unitPattern("{0}g.g."));
    put(Unit.METER, unitPattern("{0}m"));
    put(Unit.MICROMETER, unitPattern("{0} µm"));
    put(Unit.MILE, unitPattern("{0}mi"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdzes"));
    put(Unit.MILLIMETER, unitPattern("{0}mm"));
    put(Unit.NANOMETER, unitPattern("{0} nm"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdzes"));
    put(Unit.PARSEC, unitPattern("{0} parseki"));
    put(Unit.PICOMETER, unitPattern("{0}pm"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0}yd"));
    put(Unit.LUX, unitPattern("{0} lx"));
    put(Unit.CARAT, unitPattern("{0} CD"));
    put(Unit.GRAM, unitPattern("{0}g"));
    put(Unit.KILOGRAM, unitPattern("{0}kg"));
    put(Unit.METRIC_TON, unitPattern("{0} t"));
    put(Unit.MICROGRAM, unitPattern("{0} µg"));
    put(Unit.MILLIGRAM, unitPattern("{0} mg"));
    put(Unit.OUNCE, unitPattern("{0}oz"));
    put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
    put(Unit.POUND, unitPattern("{0}lb"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonnas"));
    put(Unit.GIGAWATT, unitPattern("{0} GW"));
    put(Unit.HORSEPOWER, unitPattern("{0} ZS"));
    put(Unit.KILOWATT, unitPattern("{0}kW"));
    put(Unit.MEGAWATT, unitPattern("{0} MW"));
    put(Unit.MILLIWATT, unitPattern("{0} mW"));
    put(Unit.WATT, unitPattern("{0}W"));
    put(Unit.HECTOPASCAL, unitPattern("{0}hPa"));
    put(Unit.INCH_HG, unitPattern("{0}inHg"));
    put(Unit.MILLIBAR, unitPattern("{0}mbar"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0}km/h"));
    put(Unit.KNOT, unitPattern("{0} mezgli"));
    put(Unit.METER_PER_SECOND, unitPattern("{0}m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0}mi/h"));
    put(Unit.CELSIUS, unitPattern("{0} °C"));
    put(Unit.FAHRENHEIT, unitPattern("{0}°F"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} K"));
    put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} cl"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
    put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0}km³"));
    put(Unit.CUBIC_METER, unitPattern("{0} m³"));
    put(Unit.CUBIC_MILE, unitPattern("{0}mi³"));
    put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
    put(Unit.CUP, unitPattern("{0} gl."));
    put(Unit.CUP_METRIC, unitPattern("{0} metr.gl."));
    put(Unit.DECILITER, unitPattern("{0} dl"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
    put(Unit.GALLON, unitPattern("{0} gal"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imp. gal."));
    put(Unit.HECTOLITER, unitPattern("{0} hl"));
    put(Unit.LITER, unitPattern("{0}l"));
    put(Unit.MEGALITER, unitPattern("{0} ML"));
    put(Unit.MILLILITER, unitPattern("{0} ml"));
    put(Unit.PINT, unitPattern("{0} pt"));
    put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
    put(Unit.QUART, unitPattern("{0} qt"));
    put(Unit.TABLESPOON, unitPattern("{0} ĒK"));
    put(Unit.TEASPOON, unitPattern("{0} TK"));
  }};

  protected static final Map> UNITS_SHORT_ZERO = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("{0} G"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("{0} rad"));
    put(Unit.REVOLUTION, unitPattern("{0} apgr."));
    put(Unit.ACRE, unitPattern("{0} ac"));
    put(Unit.HECTARE, unitPattern("{0} ha"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
    put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
    put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
    put(Unit.SQUARE_METER, unitPattern("{0} m²"));
    put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
    put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
    put(Unit.KARAT, unitPattern("{0} kt"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("{0} b"));
    put(Unit.BYTE, unitPattern("{0} B"));
    put(Unit.GIGABIT, unitPattern("{0} Gb"));
    put(Unit.GIGABYTE, unitPattern("{0} GB"));
    put(Unit.KILOBIT, unitPattern("{0} Kb"));
    put(Unit.KILOBYTE, unitPattern("{0} KB"));
    put(Unit.MEGABIT, unitPattern("{0} Mb"));
    put(Unit.MEGABYTE, unitPattern("{0} MB"));
    put(Unit.TERABIT, unitPattern("{0} Tb"));
    put(Unit.TERABYTE, unitPattern("{0} TB"));
    put(Unit.CENTURY, unitPattern("{0} gs."));
    put(Unit.DAY, unitPattern("{0} d."));
    put(Unit.HOUR, unitPattern("{0} st."));
    put(Unit.MICROSECOND, unitPattern("{0} μs"));
    put(Unit.MILLISECOND, unitPattern("{0} ms"));
    put(Unit.MINUTE, unitPattern("{0} min."));
    put(Unit.MONTH, unitPattern("{0} mēn."));
    put(Unit.NANOSECOND, unitPattern("{0} ns"));
    put(Unit.SECOND, unitPattern("{0} sek."));
    put(Unit.WEEK, unitPattern("{0} ned."));
    put(Unit.YEAR, unitPattern("{0} g."));
    put(Unit.AMPERE, unitPattern("{0} A"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("{0} V"));
    put(Unit.CALORIE, unitPattern("{0} cal"));
    put(Unit.FOODCALORIE, unitPattern("{0} cal"));
    put(Unit.JOULE, unitPattern("{0} J"));
    put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
    put(Unit.KILOJOULE, unitPattern("{0} kJ"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
    put(Unit.HERTZ, unitPattern("{0} Hz"));
    put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
    put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} a.v."));
    put(Unit.CENTIMETER, unitPattern("{0} cm"));
    put(Unit.DECIMETER, unitPattern("{0} dm"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0} pēdas"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0} collas"));
    put(Unit.KILOMETER, unitPattern("{0} km"));
    put(Unit.LIGHT_YEAR, unitPattern("{0} g.g."));
    put(Unit.METER, unitPattern("{0} m"));
    put(Unit.MICROMETER, unitPattern("{0} µm"));
    put(Unit.MILE, unitPattern("{0} jūdzes"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdzes"));
    put(Unit.MILLIMETER, unitPattern("{0} mm"));
    put(Unit.NANOMETER, unitPattern("{0} nm"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdzes"));
    put(Unit.PARSEC, unitPattern("{0} parseki"));
    put(Unit.PICOMETER, unitPattern("{0} pm"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0} jardi"));
    put(Unit.LUX, unitPattern("{0} lx"));
    put(Unit.CARAT, unitPattern("{0} CD"));
    put(Unit.GRAM, unitPattern("{0} g"));
    put(Unit.KILOGRAM, unitPattern("{0} kg"));
    put(Unit.METRIC_TON, unitPattern("{0} t"));
    put(Unit.MICROGRAM, unitPattern("{0} µg"));
    put(Unit.MILLIGRAM, unitPattern("{0} mg"));
    put(Unit.OUNCE, unitPattern("{0} oz"));
    put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
    put(Unit.POUND, unitPattern("{0} lb"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonnas"));
    put(Unit.GIGAWATT, unitPattern("{0} GW"));
    put(Unit.HORSEPOWER, unitPattern("{0} ZS"));
    put(Unit.KILOWATT, unitPattern("{0} kW"));
    put(Unit.MEGAWATT, unitPattern("{0} MW"));
    put(Unit.MILLIWATT, unitPattern("{0} mW"));
    put(Unit.WATT, unitPattern("{0} W"));
    put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("{0} mbar"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/st."));
    put(Unit.KNOT, unitPattern("{0} mezgli"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
    put(Unit.CELSIUS, unitPattern("{0} °C"));
    put(Unit.FAHRENHEIT, unitPattern("{0} °F"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} K"));
    put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} cl"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
    put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
    put(Unit.CUBIC_METER, unitPattern("{0} m³"));
    put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
    put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
    put(Unit.CUP, unitPattern("{0} gl."));
    put(Unit.CUP_METRIC, unitPattern("{0} metr.gl."));
    put(Unit.DECILITER, unitPattern("{0} dl"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
    put(Unit.GALLON, unitPattern("{0} gal"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imp. gal."));
    put(Unit.HECTOLITER, unitPattern("{0} hl"));
    put(Unit.LITER, unitPattern("{0} l"));
    put(Unit.MEGALITER, unitPattern("{0} ML"));
    put(Unit.MILLILITER, unitPattern("{0} ml"));
    put(Unit.PINT, unitPattern("{0} pt"));
    put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
    put(Unit.QUART, unitPattern("{0} qt"));
    put(Unit.TABLESPOON, unitPattern("{0} ĒK"));
    put(Unit.TEASPOON, unitPattern("{0} TK"));
  }};

  protected static final Map> UNITS_SHORT_ONE = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("{0} G"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("{0} rad"));
    put(Unit.REVOLUTION, unitPattern("{0} apgr."));
    put(Unit.ACRE, unitPattern("{0} ac"));
    put(Unit.HECTARE, unitPattern("{0} ha"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
    put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
    put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
    put(Unit.SQUARE_METER, unitPattern("{0} m²"));
    put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
    put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
    put(Unit.KARAT, unitPattern("{0} kt"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("{0} b"));
    put(Unit.BYTE, unitPattern("{0} B"));
    put(Unit.GIGABIT, unitPattern("{0} Gb"));
    put(Unit.GIGABYTE, unitPattern("{0} GB"));
    put(Unit.KILOBIT, unitPattern("{0} Kb"));
    put(Unit.KILOBYTE, unitPattern("{0} KB"));
    put(Unit.MEGABIT, unitPattern("{0} Mb"));
    put(Unit.MEGABYTE, unitPattern("{0} MB"));
    put(Unit.TERABIT, unitPattern("{0} Tb"));
    put(Unit.TERABYTE, unitPattern("{0} TB"));
    put(Unit.CENTURY, unitPattern("{0} gs."));
    put(Unit.DAY, unitPattern("{0} d."));
    put(Unit.HOUR, unitPattern("{0} st."));
    put(Unit.MICROSECOND, unitPattern("{0} μs"));
    put(Unit.MILLISECOND, unitPattern("{0} ms"));
    put(Unit.MINUTE, unitPattern("{0} min."));
    put(Unit.MONTH, unitPattern("{0} mēn."));
    put(Unit.NANOSECOND, unitPattern("{0} ns"));
    put(Unit.SECOND, unitPattern("{0} sek."));
    put(Unit.WEEK, unitPattern("{0} ned."));
    put(Unit.YEAR, unitPattern("{0} g."));
    put(Unit.AMPERE, unitPattern("{0} A"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("{0} V"));
    put(Unit.CALORIE, unitPattern("{0} cal"));
    put(Unit.FOODCALORIE, unitPattern("{0} cal"));
    put(Unit.JOULE, unitPattern("{0} J"));
    put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
    put(Unit.KILOJOULE, unitPattern("{0} kJ"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
    put(Unit.HERTZ, unitPattern("{0} Hz"));
    put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
    put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} a.v."));
    put(Unit.CENTIMETER, unitPattern("{0} cm"));
    put(Unit.DECIMETER, unitPattern("{0} dm"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0} pēda"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0} colla"));
    put(Unit.KILOMETER, unitPattern("{0} km"));
    put(Unit.LIGHT_YEAR, unitPattern("{0} g.g."));
    put(Unit.METER, unitPattern("{0} m"));
    put(Unit.MICROMETER, unitPattern("{0} µm"));
    put(Unit.MILE, unitPattern("{0} jūdze"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdze"));
    put(Unit.MILLIMETER, unitPattern("{0} mm"));
    put(Unit.NANOMETER, unitPattern("{0} nm"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdze"));
    put(Unit.PARSEC, unitPattern("{0} parseks"));
    put(Unit.PICOMETER, unitPattern("{0} pm"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0} jards"));
    put(Unit.LUX, unitPattern("{0} lx"));
    put(Unit.CARAT, unitPattern("{0} CD"));
    put(Unit.GRAM, unitPattern("{0} g"));
    put(Unit.KILOGRAM, unitPattern("{0} kg"));
    put(Unit.METRIC_TON, unitPattern("{0} t"));
    put(Unit.MICROGRAM, unitPattern("{0} µg"));
    put(Unit.MILLIGRAM, unitPattern("{0} mg"));
    put(Unit.OUNCE, unitPattern("{0} oz"));
    put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
    put(Unit.POUND, unitPattern("{0} lb"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonna"));
    put(Unit.GIGAWATT, unitPattern("{0} GW"));
    put(Unit.HORSEPOWER, unitPattern("{0} ZS"));
    put(Unit.KILOWATT, unitPattern("{0} kW"));
    put(Unit.MEGAWATT, unitPattern("{0} MW"));
    put(Unit.MILLIWATT, unitPattern("{0} mW"));
    put(Unit.WATT, unitPattern("{0} W"));
    put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("{0} mbar"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/st."));
    put(Unit.KNOT, unitPattern("{0} mezgls"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
    put(Unit.CELSIUS, unitPattern("{0} °C"));
    put(Unit.FAHRENHEIT, unitPattern("{0} °F"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} K"));
    put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} cl"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
    put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
    put(Unit.CUBIC_METER, unitPattern("{0} m³"));
    put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
    put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
    put(Unit.CUP, unitPattern("{0} gl."));
    put(Unit.CUP_METRIC, unitPattern("{0} metr.gl."));
    put(Unit.DECILITER, unitPattern("{0} dl"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
    put(Unit.GALLON, unitPattern("{0} gal"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imp. gal."));
    put(Unit.HECTOLITER, unitPattern("{0} hl"));
    put(Unit.LITER, unitPattern("{0} l"));
    put(Unit.MEGALITER, unitPattern("{0} ML"));
    put(Unit.MILLILITER, unitPattern("{0} ml"));
    put(Unit.PINT, unitPattern("{0} pt"));
    put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
    put(Unit.QUART, unitPattern("{0} qt"));
    put(Unit.TABLESPOON, unitPattern("{0} ĒK"));
    put(Unit.TEASPOON, unitPattern("{0} TK"));
  }};

  protected static final Map> UNITS_SHORT_OTHER = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("{0} G"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("{0} m/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("{0} rad"));
    put(Unit.REVOLUTION, unitPattern("{0} apgr."));
    put(Unit.ACRE, unitPattern("{0} ac"));
    put(Unit.HECTARE, unitPattern("{0} ha"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("{0} cm²"));
    put(Unit.SQUARE_FOOT, unitPattern("{0} ft²"));
    put(Unit.SQUARE_INCH, unitPattern("{0} in²"));
    put(Unit.SQUARE_KILOMETER, unitPattern("{0} km²"));
    put(Unit.SQUARE_METER, unitPattern("{0} m²"));
    put(Unit.SQUARE_MILE, unitPattern("{0} mi²"));
    put(Unit.SQUARE_YARD, unitPattern("{0} yd²"));
    put(Unit.KARAT, unitPattern("{0} kt"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("{0} mmol/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0} l/100 km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("{0} l/km"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("{0} b"));
    put(Unit.BYTE, unitPattern("{0} B"));
    put(Unit.GIGABIT, unitPattern("{0} Gb"));
    put(Unit.GIGABYTE, unitPattern("{0} GB"));
    put(Unit.KILOBIT, unitPattern("{0} Kb"));
    put(Unit.KILOBYTE, unitPattern("{0} KB"));
    put(Unit.MEGABIT, unitPattern("{0} Mb"));
    put(Unit.MEGABYTE, unitPattern("{0} MB"));
    put(Unit.TERABIT, unitPattern("{0} Tb"));
    put(Unit.TERABYTE, unitPattern("{0} TB"));
    put(Unit.CENTURY, unitPattern("{0} gs."));
    put(Unit.DAY, unitPattern("{0} d."));
    put(Unit.HOUR, unitPattern("{0} st."));
    put(Unit.MICROSECOND, unitPattern("{0} μs"));
    put(Unit.MILLISECOND, unitPattern("{0} ms"));
    put(Unit.MINUTE, unitPattern("{0} min."));
    put(Unit.MONTH, unitPattern("{0} mēn."));
    put(Unit.NANOSECOND, unitPattern("{0} ns"));
    put(Unit.SECOND, unitPattern("{0} sek."));
    put(Unit.WEEK, unitPattern("{0} ned."));
    put(Unit.YEAR, unitPattern("{0} g."));
    put(Unit.AMPERE, unitPattern("{0} A"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("{0} V"));
    put(Unit.CALORIE, unitPattern("{0} cal"));
    put(Unit.FOODCALORIE, unitPattern("{0} cal"));
    put(Unit.JOULE, unitPattern("{0} J"));
    put(Unit.KILOCALORIE, unitPattern("{0} kcal"));
    put(Unit.KILOJOULE, unitPattern("{0} kJ"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("{0} GHz"));
    put(Unit.HERTZ, unitPattern("{0} Hz"));
    put(Unit.KILOHERTZ, unitPattern("{0} kHz"));
    put(Unit.MEGAHERTZ, unitPattern("{0} MHz"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("{0} a.v."));
    put(Unit.CENTIMETER, unitPattern("{0} cm"));
    put(Unit.DECIMETER, unitPattern("{0} dm"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("{0} pēdas"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("{0} collas"));
    put(Unit.KILOMETER, unitPattern("{0} km"));
    put(Unit.LIGHT_YEAR, unitPattern("{0} g.g."));
    put(Unit.METER, unitPattern("{0} m"));
    put(Unit.MICROMETER, unitPattern("{0} µm"));
    put(Unit.MILE, unitPattern("{0} jūdzes"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} skandināvu jūdzes"));
    put(Unit.MILLIMETER, unitPattern("{0} mm"));
    put(Unit.NANOMETER, unitPattern("{0} nm"));
    put(Unit.NAUTICAL_MILE, unitPattern("{0} jūras jūdzes"));
    put(Unit.PARSEC, unitPattern("{0} parseki"));
    put(Unit.PICOMETER, unitPattern("{0} pm"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("{0} jardi"));
    put(Unit.LUX, unitPattern("{0} lx"));
    put(Unit.CARAT, unitPattern("{0} CD"));
    put(Unit.GRAM, unitPattern("{0} g"));
    put(Unit.KILOGRAM, unitPattern("{0} kg"));
    put(Unit.METRIC_TON, unitPattern("{0} t"));
    put(Unit.MICROGRAM, unitPattern("{0} µg"));
    put(Unit.MILLIGRAM, unitPattern("{0} mg"));
    put(Unit.OUNCE, unitPattern("{0} oz"));
    put(Unit.OUNCE_TROY, unitPattern("{0} oz t"));
    put(Unit.POUND, unitPattern("{0} lb"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("{0} tonnas"));
    put(Unit.GIGAWATT, unitPattern("{0} GW"));
    put(Unit.HORSEPOWER, unitPattern("{0} ZS"));
    put(Unit.KILOWATT, unitPattern("{0} kW"));
    put(Unit.MEGAWATT, unitPattern("{0} MW"));
    put(Unit.MILLIWATT, unitPattern("{0} mW"));
    put(Unit.WATT, unitPattern("{0} W"));
    put(Unit.HECTOPASCAL, unitPattern("{0} hPa"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("{0} mbar"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("{0} mmHg"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("{0} psi"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("{0} km/st."));
    put(Unit.KNOT, unitPattern("{0} mezgli"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} mi/h"));
    put(Unit.CELSIUS, unitPattern("{0} °C"));
    put(Unit.FAHRENHEIT, unitPattern("{0} °F"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("{0} K"));
    put(Unit.ACRE_FOOT, unitPattern("{0} ac ft"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("{0} cl"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("{0} cm³"));
    put(Unit.CUBIC_FOOT, unitPattern("{0} ft³"));
    put(Unit.CUBIC_INCH, unitPattern("{0} in³"));
    put(Unit.CUBIC_KILOMETER, unitPattern("{0} km³"));
    put(Unit.CUBIC_METER, unitPattern("{0} m³"));
    put(Unit.CUBIC_MILE, unitPattern("{0} mi³"));
    put(Unit.CUBIC_YARD, unitPattern("{0} yd³"));
    put(Unit.CUP, unitPattern("{0} gl."));
    put(Unit.CUP_METRIC, unitPattern("{0} metr.gl."));
    put(Unit.DECILITER, unitPattern("{0} dl"));
    put(Unit.FLUID_OUNCE, unitPattern("{0} fl oz"));
    put(Unit.GALLON, unitPattern("{0} gal"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} imp. gal."));
    put(Unit.HECTOLITER, unitPattern("{0} hl"));
    put(Unit.LITER, unitPattern("{0} l"));
    put(Unit.MEGALITER, unitPattern("{0} ML"));
    put(Unit.MILLILITER, unitPattern("{0} ml"));
    put(Unit.PINT, unitPattern("{0} pt"));
    put(Unit.PINT_METRIC, unitPattern("{0} mpt"));
    put(Unit.QUART, unitPattern("{0} qt"));
    put(Unit.TABLESPOON, unitPattern("{0} ĒK"));
    put(Unit.TEASPOON, unitPattern("{0} TK"));
  }};

  public _NumberFormatter_lv() {
    super(
        CLDR.Locale.lv,
        new _Params(),
        // decimal standard
        patterns("#,##0.###", "-#,##0.###"),
        // percent standard
        patterns("#,##0%", "-#,##0%"),
        // currency standard
        patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
        // currency accounting
        patterns("#,##0.00 ¤", "-#,##0.00 ¤"),
        // units standard
        patterns("#,##0.#", "-#,##0.#")
        );
  }

  protected int getDivisor_DECIMAL_SHORT(int digits) {
    int index = Math.min(14, Math.max(0, digits - 1));
    return DECIMAL_SHORT_DIVISORS[index];
  }

  protected NumberPattern[] getPattern_DECIMAL_SHORT(int digits, PluralCategory category) {
    if (category == null) {
      category = PluralCategory.OTHER;
    }
    int index = Math.min(14, Math.max(0, digits - 1));
    switch (category) {
      case ZERO: return DECIMAL_SHORT_ZERO[index];
      case ONE: return DECIMAL_SHORT_ONE[index];
      case OTHER:
          default: return DECIMAL_SHORT_OTHER[index];
    }
  }

  protected int getDivisor_DECIMAL_LONG(int digits) {
    int index = Math.min(14, Math.max(0, digits - 1));
    return DECIMAL_LONG_DIVISORS[index];
  }

  protected NumberPattern[] getPattern_DECIMAL_LONG(int digits, PluralCategory category) {
    if (category == null) {
      category = PluralCategory.OTHER;
    }
    int index = Math.min(14, Math.max(0, digits - 1));
    switch (category) {
      case ZERO: return DECIMAL_LONG_ZERO[index];
      case ONE: return DECIMAL_LONG_ONE[index];
      case OTHER:
          default: return DECIMAL_LONG_OTHER[index];
    }
  }

  protected int getDivisor_CURRENCY_SHORT(int digits) {
    int index = Math.min(14, Math.max(0, digits - 1));
    return CURRENCY_SHORT_DIVISORS[index];
  }

  protected NumberPattern[] getPattern_CURRENCY_SHORT(int digits, PluralCategory category) {
    if (category == null) {
      category = PluralCategory.OTHER;
    }
    int index = Math.min(14, Math.max(0, digits - 1));
    switch (category) {
      case ZERO: return CURRENCY_SHORT_ZERO[index];
      case ONE: return CURRENCY_SHORT_ONE[index];
      case OTHER:
          default: return CURRENCY_SHORT_OTHER[index];
    }
  }

  protected List getPattern_UNITS_LONG(Unit unit, PluralCategory category) {
    if (category == null) {
      category = PluralCategory.OTHER;
    }
    switch (category) {
      case ZERO: return UNITS_LONG_ZERO.get(unit);
      case ONE: return UNITS_LONG_ONE.get(unit);
      case OTHER: default: return UNITS_LONG_OTHER.get(unit);
    }
  }

  protected List getPattern_UNITS_NARROW(Unit unit, PluralCategory category) {
    if (category == null) {
      category = PluralCategory.OTHER;
    }
    switch (category) {
      case ZERO: return UNITS_NARROW_ZERO.get(unit);
      case ONE: return UNITS_NARROW_ONE.get(unit);
      case OTHER: default: return UNITS_NARROW_OTHER.get(unit);
    }
  }

  protected List getPattern_UNITS_SHORT(Unit unit, PluralCategory category) {
    if (category == null) {
      category = PluralCategory.OTHER;
    }
    switch (category) {
      case ZERO: return UNITS_SHORT_ZERO.get(unit);
      case ONE: return UNITS_SHORT_ONE.get(unit);
      case OTHER: default: return UNITS_SHORT_OTHER.get(unit);
    }
  }

  public String getCurrencySymbol(CLDR.Currency code) {
    if (code == null) {
      return "";
    }
    switch (code) {
      case AUD: return "AU$";
      case BRL: return "R$";
      case CAD: return "CA$";
      case CNY: return "CN¥";
      case EUR: return "€";
      case GBP: return "£";
      case HKD: return "HK$";
      case ILS: return "₪";
      case INR: return "₹";
      case JPY: return "¥";
      case KRW: return "₩";
      case LVL: return "Ls";
      case MXN: return "MX$";
      case NZD: return "NZ$";
      case THB: return "฿";
      case TWD: return "NT$";
      case USD: return "$";
      case VND: return "₫";
      case XAF: return "FCFA";
      case XCD: return "EC$";
      case XOF: return "CFA";
      case XPF: return "CFPF";
      default: return code.name();
    }
  }

  public String getNarrowCurrencySymbol(CLDR.Currency code) {
    if (code == null) {
      return "";
    }
    switch (code) {
      case AOA: return "Kz";
      case ARS: return "$";
      case AUD: return "$";
      case BAM: return "KM";
      case BBD: return "$";
      case BDT: return "৳";
      case BMD: return "$";
      case BND: return "$";
      case BOB: return "Bs";
      case BRL: return "R$";
      case BSD: return "$";
      case BWP: return "P";
      case BYN: return "р.";
      case BZD: return "$";
      case CAD: return "$";
      case CLP: return "$";
      case CNY: return "¥";
      case COP: return "$";
      case CRC: return "₡";
      case CUC: return "$";
      case CUP: return "$";
      case CZK: return "Kč";
      case DKK: return "kr";
      case DOP: return "$";
      case EGP: return "E£";
      case ESP: return "₧";
      case EUR: return "€";
      case FJD: return "$";
      case FKP: return "£";
      case GBP: return "£";
      case GEL: return "₾";
      case GIP: return "£";
      case GNF: return "FG";
      case GTQ: return "Q";
      case GYD: return "$";
      case HKD: return "$";
      case HNL: return "L";
      case HRK: return "kn";
      case HUF: return "Ft";
      case IDR: return "Rp";
      case ILS: return "₪";
      case INR: return "₹";
      case ISK: return "kr";
      case JMD: return "$";
      case JPY: return "¥";
      case KHR: return "៛";
      case KMF: return "CF";
      case KPW: return "₩";
      case KRW: return "₩";
      case KYD: return "$";
      case KZT: return "₸";
      case LAK: return "₭";
      case LBP: return "L£";
      case LKR: return "Rs";
      case LRD: return "$";
      case LTL: return "Lt";
      case LVL: return "Ls";
      case MGA: return "Ar";
      case MMK: return "K";
      case MNT: return "₮";
      case MUR: return "Rs";
      case MXN: return "$";
      case MYR: return "RM";
      case NAD: return "$";
      case NGN: return "₦";
      case NIO: return "C$";
      case NOK: return "kr";
      case NPR: return "Rs";
      case NZD: return "$";
      case PHP: return "₱";
      case PKR: return "Rs";
      case PLN: return "zł";
      case PYG: return "₲";
      case RON: return "lei";
      case RUB: return "₽";
      case RUR: return "р.";
      case RWF: return "RF";
      case SBD: return "$";
      case SEK: return "kr";
      case SGD: return "$";
      case SHP: return "£";
      case SRD: return "$";
      case SSP: return "£";
      case STD: return "Db";
      case SYP: return "£";
      case THB: return "฿";
      case TOP: return "T$";
      case TRY: return "₺";
      case TTD: return "$";
      case TWD: return "NT$";
      case UAH: return "₴";
      case USD: return "$";
      case UYU: return "$";
      case VEF: return "Bs";
      case VND: return "₫";
      case XAF: return "FCFA";
      case XCD: return "$";
      case XOF: return "CFA";
      case XPF: return "CFPF";
      case ZAR: return "R";
      case ZMW: return "ZK";
      default: return code.name();
    }
  }

  public String getCurrencyDisplayName(CLDR.Currency code) {
    if (code == null) {
      return "";
    }
    switch (code) {
      case AED: return "Apvienoto Arābu Emirātu dirhēms";
      case AFN: return "Afganistānas afgāns";
      case ALL: return "Albānijas leks";
      case AMD: return "Armēnijas drams";
      case ANG: return "Nīderlandes Antiļu guldenis";
      case AOA: return "Angolas kvanza";
      case ARS: return "Argentīnas peso";
      case ATS: return "Austrijas šiliņš";
      case AUD: return "Austrālijas dolārs";
      case AWG: return "Arubas guldenis";
      case AZM: return "Azerbaidžānas manats (1993–2006)";
      case AZN: return "Azerbaidžānas manats";
      case BAM: return "Bosnijas un Hercogovinas konvertējamā marka";
      case BBD: return "Barbadosas dolārs";
      case BDT: return "Bangladešas taka";
      case BEF: return "Beļģijas franks";
      case BGN: return "Bulgārijas leva";
      case BHD: return "Bahreinas dinārs";
      case BIF: return "Burundi franks";
      case BMD: return "Bermudu dolārs";
      case BND: return "Brunejas dolārs";
      case BOB: return "Bolīvijas boliviano";
      case BRL: return "Brazīlijas reāls";
      case BSD: return "Bahamu dolārs";
      case BTN: return "Butānas ngultrums";
      case BWP: return "Botsvanas pula";
      case BYN: return "Baltkrievijas rubelis";
      case BYR: return "Baltkrievijas rubelis (2000–2016)";
      case BZD: return "Belizas dolārs";
      case CAD: return "Kanādas dolārs";
      case CDF: return "KDR franks";
      case CHF: return "Šveices franks";
      case CLP: return "Čīles peso";
      case CNY: return "Ķīnas juaņs";
      case COP: return "Kolumbijas peso";
      case COU: return "Kolumbijas reāls";
      case CRC: return "Kostarikas kolons";
      case CUC: return "Kubas konvertējamais peso";
      case CUP: return "Kubas peso";
      case CVE: return "Kaboverdes eskudo";
      case CYP: return "Kipras mārciņa";
      case CZK: return "Čehijas krona";
      case DEM: return "Vācijas marka";
      case DJF: return "Džibutijas franks";
      case DKK: return "Dānijas krona";
      case DOP: return "Dominikānas peso";
      case DZD: return "Alžīrijas dinārs";
      case EEK: return "Igaunijas krona";
      case EGP: return "Ēģiptes mārciņa";
      case ERN: return "Eritrejas nakfa";
      case ESP: return "Spānijas peseta";
      case ETB: return "Etiopijas birs";
      case EUR: return "eiro";
      case FIM: return "Somijas marka";
      case FJD: return "Fidži dolārs";
      case FKP: return "Folklenda Salu mārciņa";
      case FRF: return "Francijas franks";
      case GBP: return "Lielbritānijas mārciņa";
      case GEL: return "Gruzijas lari";
      case GHS: return "Ganas sedi";
      case GIP: return "Gibraltāra mārciņa";
      case GMD: return "Gambijas dalasi";
      case GNF: return "Gvinejas franks";
      case GRD: return "Grieķijas drahma";
      case GTQ: return "Gvatemalas ketsals";
      case GYD: return "Gajānas dolārs";
      case HKD: return "Honkongas dolārs";
      case HNL: return "Hondurasas lempīra";
      case HRK: return "Horvātijas kuna";
      case HTG: return "Haiti gurds";
      case HUF: return "Ungārijas forints";
      case IDR: return "Indonēzijas rūpija";
      case IEP: return "Īrijas mārciņa";
      case ILS: return "Izraēlas šekelis";
      case INR: return "Indijas rūpija";
      case IQD: return "Irākas dinārs";
      case IRR: return "Irānas riāls";
      case ISK: return "Islandes krona";
      case ITL: return "Itālijas lira";
      case JMD: return "Jamaikas dolārs";
      case JOD: return "Jordānas dinārs";
      case JPY: return "Japānas jena";
      case KES: return "Kenijas šiliņš";
      case KGS: return "Kirgizstānas soms";
      case KHR: return "Kambodžas riels";
      case KMF: return "Komoru franks";
      case KPW: return "Ziemeļkorejas vona";
      case KRW: return "Dienvidkorejas vona";
      case KWD: return "Kuveitas dinārs";
      case KYD: return "Kaimanu salu dolārs";
      case KZT: return "Kazahstānas tenge";
      case LAK: return "Laosas kips";
      case LBP: return "Libānas mārciņa";
      case LKR: return "Šrilankas rūpija";
      case LRD: return "Libērijas dolārs";
      case LSL: return "Lesoto loti";
      case LTL: return "Lietuvas lits";
      case LUF: return "Luksemburgas franks";
      case LVL: return "Latvijas lats";
      case LVR: return "Latvijas rublis";
      case LYD: return "Lībijas dinārs";
      case MAD: return "Marokas dirhēms";
      case MDL: return "Moldovas leja";
      case MGA: return "Madagaskaras ariari";
      case MKD: return "Maķedonijas denārs";
      case MLF: return "CFA (Āfrikas) franks";
      case MMK: return "Mjanmas kjats";
      case MNT: return "Mongolijas tugriks";
      case MOP: return "Makao pataka";
      case MRO: return "Mauritānijas ugija";
      case MTL: return "Maltas lira";
      case MTP: return "Maltas mārciņa";
      case MUR: return "Maurīcijas rūpija";
      case MVR: return "Maldīvijas rūfija";
      case MWK: return "Malāvijas kvača";
      case MXN: return "Meksikas peso";
      case MYR: return "Malaizijas ringits";
      case MZE: return "Mozambikas eskudo";
      case MZM: return "Mozambikas vecais metikals";
      case MZN: return "Mozambikas metikals";
      case NAD: return "Namībijas dolārs";
      case NGN: return "Nigērijas naira";
      case NIO: return "Nikaragvas kordoba";
      case NLG: return "Nīderlandes guldenis";
      case NOK: return "Norvēģijas krona";
      case NPR: return "Nepālas rūpija";
      case NZD: return "Jaunzēlandes dolārs";
      case OMR: return "Omānas riāls";
      case PAB: return "Panamas balboa";
      case PEN: return "Peru sols";
      case PGK: return "Papua-Jaungvinejas kina";
      case PHP: return "Filipīnu peso";
      case PKR: return "Pakistānas rūpija";
      case PLN: return "Polijas zlots";
      case PTE: return "Portugāles eskudo";
      case PYG: return "Paragvajas guarani";
      case QAR: return "Kataras riāls";
      case ROL: return "Rumānijas vecā leja";
      case RON: return "Rumānijas leja";
      case RSD: return "Serbijas dinārs";
      case RUB: return "Krievijas rublis";
      case RWF: return "Ruandas franks";
      case SAR: return "Saūda riāls";
      case SBD: return "Zālamana Salu dolārs";
      case SCR: return "Seišelu salu rūpija";
      case SDG: return "Sudānas mārciņa";
      case SEK: return "Zviedrijas krona";
      case SGD: return "Singapūras dolārs";
      case SHP: return "Sv.Helēnas salas mārciņa";
      case SIT: return "Slovēnijas tolars";
      case SKK: return "Slovakijas krona";
      case SLL: return "Sjerraleones leone";
      case SOS: return "Somālijas šiliņš";
      case SRD: return "Surinamas dolārs";
      case SRG: return "Surinamas guldenis";
      case SSP: return "Dienvidsudānas mārciņa";
      case STD: return "Santome un Prinsipi dobra";
      case SVC: return "Salvadoras kolons";
      case SYP: return "Sīrijas mārciņa";
      case SZL: return "Svazilendas lilangeni";
      case THB: return "Taizemes bāts";
      case TJS: return "Tadžikistānas somons";
      case TMM: return "Turkmenistānas manats (1993–2009)";
      case TMT: return "Turkmenistānas manats";
      case TND: return "Tunisijas dinārs";
      case TOP: return "Tongas paanga";
      case TRL: return "Turcijas lira (1922–2005)";
      case TRY: return "Turcijas lira";
      case TTD: return "Trinidādas un Tobāgo dolārs";
      case TWD: return "Taivānas jaunais dolārs";
      case TZS: return "Tanzānijas šiliņš";
      case UAH: return "Ukrainas grivna";
      case UGX: return "Ugandas šiliņš";
      case USD: return "ASV dolārs";
      case UYU: return "Urugvajas peso";
      case UZS: return "Uzbekistānas sums";
      case VEB: return "Venecuēlas bolivārs (1871–2008)";
      case VEF: return "Venecuēlas bolivārs";
      case VND: return "Vjetnamas dongi";
      case VUV: return "Vanuatu vatu";
      case WST: return "Samoa tala";
      case XAF: return "Centrālāfrikas CFA franks";
      case XAG: return "sudrabs";
      case XAU: return "zelts";
      case XBA: return "Eiropas norēķinu vienība EURCO";
      case XBB: return "Eiropas naudas vienība";
      case XBC: return "Eiropas norēķinu vienība (XBC)";
      case XBD: return "Eiropas norēķinu vienība (XBD)";
      case XCD: return "Austrumkarību dolārs";
      case XDR: return "Speciālās aizņēmuma tiesības";
      case XEU: return "Eiropas norēķinu vienība";
      case XFO: return "Francijas zelta franks";
      case XFU: return "Francijas UIC franks";
      case XOF: return "Rietumāfrikas CFA franks";
      case XPD: return "pallādijs";
      case XPF: return "CFP franks";
      case XPT: return "platīns";
      case XTS: return "Testa valūtas kods";
      case XXX: return "Nezināma valūta";
      case YER: return "Jemenas riāls";
      case ZAR: return "Dienvidāfrikas rends";
      case ZMK: return "Zambijas kvača (1968–2012)";
      case ZMW: return "Zambijas kvača";
      case ZWD: return "Zimbabves dolārs";
      case ZWL: return "Zimbabves dolārs (2009)";
      default: return code.name();
    }
  }

  protected String getCurrencyPluralName(CLDR.Currency code, PluralCategory category) {
    switch (code) {
      case AED: {
        switch (category) {
          case ZERO: return "AAE dirhēmi";
          case ONE: return "AAE dirhēms";
          case OTHER:
              default: return "AAE dirhēmi";
        }
      }
      case AFN: {
        switch (category) {
          case ZERO: return "Afganistānas afgāni";
          case ONE: return "Afganistānas afgāns";
          case OTHER:
              default: return "Afganistānas afgāni";
        }
      }
      case ALL: {
        switch (category) {
          case ZERO: return "Albānijas leki";
          case ONE: return "Albānijas leks";
          case OTHER:
              default: return "Albānijas leki";
        }
      }
      case AMD: {
        switch (category) {
          case ZERO: return "Armēnijas drami";
          case ONE: return "Armēnijas drams";
          case OTHER:
              default: return "Armēnijas drami";
        }
      }
      case ANG: {
        switch (category) {
          case ZERO: return "Nīderlandes Antiļu guldeņi";
          case ONE: return "Nīderlandes Antiļu guldenis";
          case OTHER:
              default: return "Nīderlandes Antiļu guldeņi";
        }
      }
      case AOA: {
        switch (category) {
          case ZERO: return "Angolas kvanzas";
          case ONE: return "Angolas kvanza";
          case OTHER:
              default: return "Angolas kvanzas";
        }
      }
      case ARS: {
        switch (category) {
          case ZERO: return "Argentīnas peso";
          case ONE: return "Argentīnas peso";
          case OTHER:
              default: return "Argentīnas peso";
        }
      }
      case AUD: {
        switch (category) {
          case ZERO: return "Austrālijas dolāri";
          case ONE: return "Austrālijas dolārs";
          case OTHER:
              default: return "Austrālijas dolāri";
        }
      }
      case AWG: {
        switch (category) {
          case ZERO: return "Arubas guldeņi";
          case ONE: return "Arubas guldenis";
          case OTHER:
              default: return "Arubas guldeņi";
        }
      }
      case AZM: {
        switch (category) {
          case ZERO: return "Azerbaidžānas manati (1993–2006)";
          case ONE: return "Azerbaidžānas manats (1993–2006)";
          case OTHER:
              default: return "Azerbaidžānas manati (1993–2006)";
        }
      }
      case AZN: {
        switch (category) {
          case ZERO: return "Azerbaidžānas manati";
          case ONE: return "Azerbaidžānas manats";
          case OTHER:
              default: return "Azerbaidžānas manati";
        }
      }
      case BAM: {
        switch (category) {
          case ZERO: return "Bosnijas un Hercogovinas konvertējamās markas";
          case ONE: return "Bosnijas un Hercogovinas konvertējamā marka";
          case OTHER:
              default: return "Bosnijas un Hercogovinas konvertējamās markas";
        }
      }
      case BBD: {
        switch (category) {
          case ZERO: return "Barbadosas dolāri";
          case ONE: return "Barbadosas dolārs";
          case OTHER:
              default: return "Barbadosas dolāri";
        }
      }
      case BDT: {
        switch (category) {
          case ZERO: return "Bangladešas takas";
          case ONE: return "Bangladešas taka";
          case OTHER:
              default: return "Bangladešas takas";
        }
      }
      case BEF: {
        switch (category) {
          case ZERO: return "Beļģijas franki";
          case ONE: return "Beļģijas franks";
          case OTHER:
              default: return "Beļģijas franki";
        }
      }
      case BGN: {
        switch (category) {
          case ZERO: return "Bulgārijas levas";
          case ONE: return "Bulgārijas leva";
          case OTHER:
              default: return "Bulgārijas levas";
        }
      }
      case BHD: {
        switch (category) {
          case ZERO: return "Bahreinas dināri";
          case ONE: return "Bahreinas dinārs";
          case OTHER:
              default: return "Bahreinas dināri";
        }
      }
      case BIF: {
        switch (category) {
          case ZERO: return "Burundi franki";
          case ONE: return "Burundi franks";
          case OTHER:
              default: return "Burundi franki";
        }
      }
      case BMD: {
        switch (category) {
          case ZERO: return "Bermudu dolāri";
          case ONE: return "Bermudu dolārs";
          case OTHER:
              default: return "Bermudu dolāri";
        }
      }
      case BND: {
        switch (category) {
          case ZERO: return "Brunejas dolāri";
          case ONE: return "Brunejas dolārs";
          case OTHER:
              default: return "Brunejas dolāri";
        }
      }
      case BOB: {
        switch (category) {
          case ZERO: return "Bolīvijas boliviano";
          case ONE: return "Bolīvijas boliviano";
          case OTHER:
              default: return "Bolīvijas boliviano";
        }
      }
      case BRL: {
        switch (category) {
          case ZERO: return "Brazīlijas reāli";
          case ONE: return "Brazīlijas reāls";
          case OTHER:
              default: return "Brazīlijas reāli";
        }
      }
      case BSD: {
        switch (category) {
          case ZERO: return "Bahamu dolāri";
          case ONE: return "Bahamu dolārs";
          case OTHER:
              default: return "Bahamu dolāri";
        }
      }
      case BTN: {
        switch (category) {
          case ZERO: return "Butānas ngultrumi";
          case ONE: return "Butānas ngultrums";
          case OTHER:
              default: return "Butānas ngultrumi";
        }
      }
      case BWP: {
        switch (category) {
          case ZERO: return "Botsvanas pulas";
          case ONE: return "Botsvanas pula";
          case OTHER:
              default: return "Botsvanas pulas";
        }
      }
      case BYN: {
        switch (category) {
          case ZERO: return "Baltkrievijas rubeļi";
          case ONE: return "Baltkrievijas rubelis";
          case OTHER:
              default: return "Baltkrievijas rubeļi";
        }
      }
      case BYR: {
        switch (category) {
          case ZERO: return "Baltkrievijas rubeļi (2000–2016)";
          case ONE: return "Baltkrievijas rubelis (2000–2016)";
          case OTHER:
              default: return "Baltkrievijas rubeļi (2000–2016)";
        }
      }
      case BZD: {
        switch (category) {
          case ZERO: return "Belizas dolāri";
          case ONE: return "Belizas dolārs";
          case OTHER:
              default: return "Belizas dolāri";
        }
      }
      case CAD: {
        switch (category) {
          case ZERO: return "Kanādas dolāri";
          case ONE: return "Kanādas dolārs";
          case OTHER:
              default: return "Kanādas dolāri";
        }
      }
      case CDF: {
        switch (category) {
          case ZERO: return "KDR franki";
          case ONE: return "KDR franks";
          case OTHER:
              default: return "KDR franki";
        }
      }
      case CHF: {
        switch (category) {
          case ZERO: return "Šveices franki";
          case ONE: return "Šveices franks";
          case OTHER:
              default: return "Šveices franki";
        }
      }
      case CLP: {
        switch (category) {
          case ZERO: return "Čīles peso";
          case ONE: return "Čīles peso";
          case OTHER:
              default: return "Čīles peso";
        }
      }
      case CNY: {
        switch (category) {
          case ZERO: return "Ķīnas juaņi";
          case ONE: return "Ķīnas juaņs";
          case OTHER:
              default: return "Ķīnas juaņi";
        }
      }
      case COP: {
        switch (category) {
          case ZERO: return "Kolumbijas peso";
          case ONE: return "Kolumbijas peso";
          case OTHER:
              default: return "Kolumbijas peso";
        }
      }
      case CRC: {
        switch (category) {
          case ZERO: return "Kostarikas koloni";
          case ONE: return "Kostarikas kolons";
          case OTHER:
              default: return "Kostarikas koloni";
        }
      }
      case CUC: {
        switch (category) {
          case ZERO: return "Kubas konvertējamie peso";
          case ONE: return "Kubas konvertējamais peso";
          case OTHER:
              default: return "Kubas konvertējamie peso";
        }
      }
      case CUP: {
        switch (category) {
          case ZERO: return "Kubas peso";
          case ONE: return "Kubas peso";
          case OTHER:
              default: return "Kubas peso";
        }
      }
      case CVE: {
        switch (category) {
          case ZERO: return "Kaboverdes eskudo";
          case ONE: return "Kaboverdes eskudo";
          case OTHER:
              default: return "Kaboverdes eskudo";
        }
      }
      case CZK: {
        switch (category) {
          case ZERO: return "Čehijas kronas";
          case ONE: return "Čehijas krona";
          case OTHER:
              default: return "Čehijas kronas";
        }
      }
      case DJF: {
        switch (category) {
          case ZERO: return "Džibutijas franki";
          case ONE: return "Džibutijas franks";
          case OTHER:
              default: return "Džibutijas franki";
        }
      }
      case DKK: {
        switch (category) {
          case ZERO: return "Dānijas kronas";
          case ONE: return "Dānijas krona";
          case OTHER:
              default: return "Dānijas kronas";
        }
      }
      case DOP: {
        switch (category) {
          case ZERO: return "Dominikānas peso";
          case ONE: return "Dominikānas peso";
          case OTHER:
              default: return "Dominikānas peso";
        }
      }
      case DZD: {
        switch (category) {
          case ZERO: return "Alžīrijas dināri";
          case ONE: return "Alžīrijas dinārs";
          case OTHER:
              default: return "Alžīrijas dināri";
        }
      }
      case EGP: {
        switch (category) {
          case ZERO: return "Ēģiptes mārciņas";
          case ONE: return "Ēģiptes mārciņa";
          case OTHER:
              default: return "Ēģiptes mārciņas";
        }
      }
      case ERN: {
        switch (category) {
          case ZERO: return "Eritrejas nakfas";
          case ONE: return "Eritrejas nakfa";
          case OTHER:
              default: return "Eritrejas nakfas";
        }
      }
      case ETB: {
        switch (category) {
          case ZERO: return "Etiopijas biri";
          case ONE: return "Etiopijas birs";
          case OTHER:
              default: return "Etiopijas biri";
        }
      }
      case EUR: {
        switch (category) {
          case ZERO: return "eiro";
          case ONE: return "eiro";
          case OTHER:
              default: return "eiro";
        }
      }
      case FJD: {
        switch (category) {
          case ZERO: return "Fidži dolāri";
          case ONE: return "Fidži dolārs";
          case OTHER:
              default: return "Fidži dolāri";
        }
      }
      case FKP: {
        switch (category) {
          case ZERO: return "Folklenda Salu mārciņas";
          case ONE: return "Folklenda Salu mārciņa";
          case OTHER:
              default: return "Folklenda Salu mārciņas";
        }
      }
      case GBP: {
        switch (category) {
          case ZERO: return "Lielbritānijas mārciņas";
          case ONE: return "Lielbritānijas mārciņa";
          case OTHER:
              default: return "Lielbritānijas mārciņas";
        }
      }
      case GEL: {
        switch (category) {
          case ZERO: return "Gruzijas lari";
          case ONE: return "Gruzijas lari";
          case OTHER:
              default: return "Gruzijas lari";
        }
      }
      case GHS: {
        switch (category) {
          case ZERO: return "Ganas sedi";
          case ONE: return "Ganas sedi";
          case OTHER:
              default: return "Ganas sedi";
        }
      }
      case GIP: {
        switch (category) {
          case ZERO: return "Gibraltāra mārciņas";
          case ONE: return "Gibraltāra mārciņa";
          case OTHER:
              default: return "Gibraltāra mārciņas";
        }
      }
      case GMD: {
        switch (category) {
          case ZERO: return "Gambijas dalasi";
          case ONE: return "Gambijas dalasi";
          case OTHER:
              default: return "Gambijas dalasi";
        }
      }
      case GNF: {
        switch (category) {
          case ZERO: return "Gvinejas franki";
          case ONE: return "Gvinejas franks";
          case OTHER:
              default: return "Gvinejas franki";
        }
      }
      case GTQ: {
        switch (category) {
          case ZERO: return "Gvatemalas ketsali";
          case ONE: return "Gvatemalas ketsals";
          case OTHER:
              default: return "Gvatemalas ketsali";
        }
      }
      case GYD: {
        switch (category) {
          case ZERO: return "Gajānas dolāri";
          case ONE: return "Gajānas dolārs";
          case OTHER:
              default: return "Gajānas dolāri";
        }
      }
      case HKD: {
        switch (category) {
          case ZERO: return "Honkongas dolāri";
          case ONE: return "Honkongas dolārs";
          case OTHER:
              default: return "Honkongas dolāri";
        }
      }
      case HNL: {
        switch (category) {
          case ZERO: return "Hondurasas lempīras";
          case ONE: return "Hondurasas lempīra";
          case OTHER:
              default: return "Hondurasas lempīras";
        }
      }
      case HRK: {
        switch (category) {
          case ZERO: return "Horvātijas kunas";
          case ONE: return "Horvātijas kuna";
          case OTHER:
              default: return "Horvātijas kunas";
        }
      }
      case HTG: {
        switch (category) {
          case ZERO: return "Haiti gurdi";
          case ONE: return "Haiti gurds";
          case OTHER:
              default: return "Haiti gurdi";
        }
      }
      case HUF: {
        switch (category) {
          case ZERO: return "Ungārijas forinti";
          case ONE: return "Ungārijas forints";
          case OTHER:
              default: return "Ungārijas forinti";
        }
      }
      case IDR: {
        switch (category) {
          case ZERO: return "Indonēzijas rūpijas";
          case ONE: return "Indonēzijas rūpija";
          case OTHER:
              default: return "Indonēzijas rūpijas";
        }
      }
      case ILS: {
        switch (category) {
          case ZERO: return "Izraēlas šekeļi";
          case ONE: return "Izraēlas šekelis";
          case OTHER:
              default: return "Izraēlas šekeļi";
        }
      }
      case INR: {
        switch (category) {
          case ZERO: return "Indijas rūpijas";
          case ONE: return "Indijas rūpija";
          case OTHER:
              default: return "Indijas rūpijas";
        }
      }
      case IQD: {
        switch (category) {
          case ZERO: return "Irākas dināri";
          case ONE: return "Irākas dinārs";
          case OTHER:
              default: return "Irākas dināri";
        }
      }
      case IRR: {
        switch (category) {
          case ZERO: return "Irānas riāli";
          case ONE: return "Irānas riāls";
          case OTHER:
              default: return "Irānas riāli";
        }
      }
      case ISK: {
        switch (category) {
          case ZERO: return "Islandes kronas";
          case ONE: return "Islandes krona";
          case OTHER:
              default: return "Islandes kronas";
        }
      }
      case JMD: {
        switch (category) {
          case ZERO: return "Jamaikas dolāri";
          case ONE: return "Jamaikas dolārs";
          case OTHER:
              default: return "Jamaikas dolāri";
        }
      }
      case JOD: {
        switch (category) {
          case ZERO: return "Jordānas dināri";
          case ONE: return "Jordānas dinārs";
          case OTHER:
              default: return "Jordānas dināri";
        }
      }
      case JPY: {
        switch (category) {
          case ZERO: return "Japānas jenas";
          case ONE: return "Japānas jena";
          case OTHER:
              default: return "Japānas jenas";
        }
      }
      case KES: {
        switch (category) {
          case ZERO: return "Kenijas šiliņi";
          case ONE: return "Kenijas šiliņš";
          case OTHER:
              default: return "Kenijas šiliņi";
        }
      }
      case KGS: {
        switch (category) {
          case ZERO: return "Kirgizstānas somi";
          case ONE: return "Kirgizstānas soms";
          case OTHER:
              default: return "Kirgizstānas somi";
        }
      }
      case KHR: {
        switch (category) {
          case ZERO: return "Kambodžas rieli";
          case ONE: return "Kambodžas riels";
          case OTHER:
              default: return "Kambodžas rieli";
        }
      }
      case KMF: {
        switch (category) {
          case ZERO: return "Komoru franki";
          case ONE: return "Komoru franks";
          case OTHER:
              default: return "Komoru franki";
        }
      }
      case KPW: {
        switch (category) {
          case ZERO: return "Ziemeļkorejas vonas";
          case ONE: return "Ziemeļkorejas vona";
          case OTHER:
              default: return "Ziemeļkorejas vonas";
        }
      }
      case KRW: {
        switch (category) {
          case ZERO: return "Dienvidkorejas vonas";
          case ONE: return "Dienvidkorejas vona";
          case OTHER:
              default: return "Dienvidkorejas vonas";
        }
      }
      case KWD: {
        switch (category) {
          case ZERO: return "Kuveitas dināri";
          case ONE: return "Kuveitas dinārs";
          case OTHER:
              default: return "Kuveitas dināri";
        }
      }
      case KYD: {
        switch (category) {
          case ZERO: return "Kaimanu salu dolāri";
          case ONE: return "Kaimanu salu dolārs";
          case OTHER:
              default: return "Kaimanu salu dolāri";
        }
      }
      case KZT: {
        switch (category) {
          case ZERO: return "Kazahstānas tenges";
          case ONE: return "Kazahstānas tenge";
          case OTHER:
              default: return "Kazahstānas tenges";
        }
      }
      case LAK: {
        switch (category) {
          case ZERO: return "Laosas kipi";
          case ONE: return "Laosas kips";
          case OTHER:
              default: return "Laosas kipi";
        }
      }
      case LBP: {
        switch (category) {
          case ZERO: return "Libānas mārciņas";
          case ONE: return "Libānas mārciņa";
          case OTHER:
              default: return "Libānas mārciņas";
        }
      }
      case LKR: {
        switch (category) {
          case ZERO: return "Šrilankas rūpijas";
          case ONE: return "Šrilankas rūpija";
          case OTHER:
              default: return "Šrilankas rūpijas";
        }
      }
      case LRD: {
        switch (category) {
          case ZERO: return "Libērijas dolāri";
          case ONE: return "Libērijas dolārs";
          case OTHER:
              default: return "Libērijas dolāri";
        }
      }
      case LTL: {
        switch (category) {
          case ZERO: return "Lietuvas liti";
          case ONE: return "Lietuvas lits";
          case OTHER:
              default: return "Lietuvas liti";
        }
      }
      case LVL: {
        switch (category) {
          case ZERO: return "Latvijas lati";
          case ONE: return "Latvijas lats";
          case OTHER:
              default: return "Latvijas lati";
        }
      }
      case LYD: {
        switch (category) {
          case ZERO: return "Lībijas dināri";
          case ONE: return "Lībijas dinārs";
          case OTHER:
              default: return "Lībijas dināri";
        }
      }
      case MAD: {
        switch (category) {
          case ZERO: return "Marokas dirhēmi";
          case ONE: return "Marokas dirhēms";
          case OTHER:
              default: return "Marokas dirhēmi";
        }
      }
      case MDL: {
        switch (category) {
          case ZERO: return "Moldovas lejas";
          case ONE: return "Moldovas leja";
          case OTHER:
              default: return "Moldovas lejas";
        }
      }
      case MGA: {
        switch (category) {
          case ZERO: return "Madagaskaras ariari";
          case ONE: return "Madagaskaras ariari";
          case OTHER:
              default: return "Madagaskaras ariari";
        }
      }
      case MKD: {
        switch (category) {
          case ZERO: return "Maķedonijas denāri";
          case ONE: return "Maķedonijas denārs";
          case OTHER:
              default: return "Maķedonijas denāri";
        }
      }
      case MMK: {
        switch (category) {
          case ZERO: return "Mjanmas kjati";
          case ONE: return "Mjanmas kjats";
          case OTHER:
              default: return "Mjanmas kjati";
        }
      }
      case MNT: {
        switch (category) {
          case ZERO: return "Mongolijas tugriki";
          case ONE: return "Mongolijas tugriks";
          case OTHER:
              default: return "Mongolijas tugriki";
        }
      }
      case MOP: {
        switch (category) {
          case ZERO: return "Makao patakas";
          case ONE: return "Makao pataka";
          case OTHER:
              default: return "Makao patakas";
        }
      }
      case MRO: {
        switch (category) {
          case ZERO: return "Mauritānijas ugijas";
          case ONE: return "Mauritānijas ugija";
          case OTHER:
              default: return "Mauritānijas ugijas";
        }
      }
      case MUR: {
        switch (category) {
          case ZERO: return "Maurīcijas rūpijas";
          case ONE: return "Maurīcijas rūpija";
          case OTHER:
              default: return "Maurīcijas rūpijas";
        }
      }
      case MVR: {
        switch (category) {
          case ZERO: return "Maldīvijas rūfijas";
          case ONE: return "Maldīvijas rūfija";
          case OTHER:
              default: return "Maldīvijas rūfijas";
        }
      }
      case MWK: {
        switch (category) {
          case ZERO: return "Malāvijas kvačas";
          case ONE: return "Malāvijas kvača";
          case OTHER:
              default: return "Malāvijas kvačas";
        }
      }
      case MXN: {
        switch (category) {
          case ZERO: return "Meksikas peso";
          case ONE: return "Meksikas peso";
          case OTHER:
              default: return "Meksikas peso";
        }
      }
      case MYR: {
        switch (category) {
          case ZERO: return "Malaizijas ringiti";
          case ONE: return "Malaizijas ringits";
          case OTHER:
              default: return "Malaizijas ringiti";
        }
      }
      case MZM: {
        switch (category) {
          case ZERO: return "Mozambikas vecie metikali";
          case ONE: return "Mozambikas vecais metikals";
          case OTHER:
              default: return "Mozambikas vecie metikali";
        }
      }
      case MZN: {
        switch (category) {
          case ZERO: return "Mozambikas metikali";
          case ONE: return "Mozambikas metikals";
          case OTHER:
              default: return "Mozambikas metikali";
        }
      }
      case NAD: {
        switch (category) {
          case ZERO: return "Namībijas dolāri";
          case ONE: return "Namībijas dolārs";
          case OTHER:
              default: return "Namībijas dolāri";
        }
      }
      case NGN: {
        switch (category) {
          case ZERO: return "Nigērijas nairas";
          case ONE: return "Nigērijas naira";
          case OTHER:
              default: return "Nigērijas nairas";
        }
      }
      case NIO: {
        switch (category) {
          case ZERO: return "Nikaragvas kordobas";
          case ONE: return "Nikaragvas kordoba";
          case OTHER:
              default: return "Nikaragvas kordobas";
        }
      }
      case NOK: {
        switch (category) {
          case ZERO: return "Norvēģijas kronas";
          case ONE: return "Norvēģijas krona";
          case OTHER:
              default: return "Norvēģijas kronas";
        }
      }
      case NPR: {
        switch (category) {
          case ZERO: return "Nepālas rūpijas";
          case ONE: return "Nepālas rūpija";
          case OTHER:
              default: return "Nepālas rūpijas";
        }
      }
      case NZD: {
        switch (category) {
          case ZERO: return "Jaunzēlandes dolāri";
          case ONE: return "Jaunzēlandes dolārs";
          case OTHER:
              default: return "Jaunzēlandes dolāri";
        }
      }
      case OMR: {
        switch (category) {
          case ZERO: return "Omānas riāli";
          case ONE: return "Omānas riāls";
          case OTHER:
              default: return "Omānas riāli";
        }
      }
      case PAB: {
        switch (category) {
          case ZERO: return "Panamas balboa";
          case ONE: return "Panamas balboa";
          case OTHER:
              default: return "Panamas balboa";
        }
      }
      case PEN: {
        switch (category) {
          case ZERO: return "Peru soli";
          case ONE: return "Peru sols";
          case OTHER:
              default: return "Peru soli";
        }
      }
      case PGK: {
        switch (category) {
          case ZERO: return "Papua-Jaungvinejas kinas";
          case ONE: return "Papua-Jaungvinejas kina";
          case OTHER:
              default: return "Papua-Jaungvinejas kinas";
        }
      }
      case PHP: {
        switch (category) {
          case ZERO: return "Filipīnu peso";
          case ONE: return "Filipīnu peso";
          case OTHER:
              default: return "Filipīnu peso";
        }
      }
      case PKR: {
        switch (category) {
          case ZERO: return "Pakistānas rūpijas";
          case ONE: return "Pakistānas rūpija";
          case OTHER:
              default: return "Pakistānas rūpijas";
        }
      }
      case PLN: {
        switch (category) {
          case ZERO: return "Polijas zloti";
          case ONE: return "Polijas zlots";
          case OTHER:
              default: return "Polijas zloti";
        }
      }
      case PYG: {
        switch (category) {
          case ZERO: return "Paragvajas guarani";
          case ONE: return "Paragvajas guarani";
          case OTHER:
              default: return "Paragvajas guarani";
        }
      }
      case QAR: {
        switch (category) {
          case ZERO: return "Kataras riāli";
          case ONE: return "Kataras riāls";
          case OTHER:
              default: return "Kataras riāli";
        }
      }
      case ROL: {
        switch (category) {
          case ZERO: return "Rumānijas vecās levas";
          case ONE: return "Rumānijas vecā leva";
          case OTHER:
              default: return "Rumānijas vecās levas";
        }
      }
      case RON: {
        switch (category) {
          case ZERO: return "Rumānijas lejas";
          case ONE: return "Rumānijas leja";
          case OTHER:
              default: return "Rumānijas lejas";
        }
      }
      case RSD: {
        switch (category) {
          case ZERO: return "Serbijas dināri";
          case ONE: return "Serbijas dinārs";
          case OTHER:
              default: return "Serbijas dināri";
        }
      }
      case RUB: {
        switch (category) {
          case ZERO: return "Krievijas rubļi";
          case ONE: return "Krievijas rublis";
          case OTHER:
              default: return "Krievijas rubļi";
        }
      }
      case RWF: {
        switch (category) {
          case ZERO: return "Ruandas franki";
          case ONE: return "Ruandas franks";
          case OTHER:
              default: return "Ruandas franki";
        }
      }
      case SAR: {
        switch (category) {
          case ZERO: return "Saūda riāli";
          case ONE: return "Saūda riāls";
          case OTHER:
              default: return "Saūda riāli";
        }
      }
      case SBD: {
        switch (category) {
          case ZERO: return "Zālamana Salu dolāri";
          case ONE: return "Zālamana Salu dolārs";
          case OTHER:
              default: return "Zālamana Salu dolāri";
        }
      }
      case SCR: {
        switch (category) {
          case ZERO: return "Seišelu salu rūpijas";
          case ONE: return "Seišelu salu rūpija";
          case OTHER:
              default: return "Seišelu salu rūpijas";
        }
      }
      case SDG: {
        switch (category) {
          case ZERO: return "Sudānas mārciņas";
          case ONE: return "Sudānas mārciņa";
          case OTHER:
              default: return "Sudānas mārciņas";
        }
      }
      case SEK: {
        switch (category) {
          case ZERO: return "Zviedrijas kronas";
          case ONE: return "Zviedrijas krona";
          case OTHER:
              default: return "Zviedrijas kronas";
        }
      }
      case SGD: {
        switch (category) {
          case ZERO: return "Singapūras dolāri";
          case ONE: return "Singapūras dolārs";
          case OTHER:
              default: return "Singapūras dolāri";
        }
      }
      case SHP: {
        switch (category) {
          case ZERO: return "Sv.Helēnas salas mārciņas";
          case ONE: return "Sv.Helēnas salas mārciņa";
          case OTHER:
              default: return "Sv.Helēnas salas mārciņas";
        }
      }
      case SLL: {
        switch (category) {
          case ZERO: return "Sjerraleones leones";
          case ONE: return "Sjerraleones leone";
          case OTHER:
              default: return "Sjerraleones leones";
        }
      }
      case SOS: {
        switch (category) {
          case ZERO: return "Somālijas šiliņi";
          case ONE: return "Somālijas šiliņš";
          case OTHER:
              default: return "Somālijas šiliņi";
        }
      }
      case SRD: {
        switch (category) {
          case ZERO: return "Surinamas dolāri";
          case ONE: return "Surinamas dolārs";
          case OTHER:
              default: return "Surinamas dolāri";
        }
      }
      case SSP: {
        switch (category) {
          case ZERO: return "Dienvidsudānas mārciņas";
          case ONE: return "Dienvidsudānas mārciņa";
          case OTHER:
              default: return "Dienvidsudānas mārciņas";
        }
      }
      case STD: {
        switch (category) {
          case ZERO: return "Santome un Prinsipi dobras";
          case ONE: return "Santome un Prinsipi dobra";
          case OTHER:
              default: return "Santome un Prinsipi dobras";
        }
      }
      case SYP: {
        switch (category) {
          case ZERO: return "Sīrijas mārciņas";
          case ONE: return "Sīrijas mārciņa";
          case OTHER:
              default: return "Sīrijas mārciņas";
        }
      }
      case SZL: {
        switch (category) {
          case ZERO: return "Svazilendas lilangeni";
          case ONE: return "Svazilendas lilangeni";
          case OTHER:
              default: return "Svazilendas lilangeni";
        }
      }
      case THB: {
        switch (category) {
          case ZERO: return "Taizemes bāti";
          case ONE: return "Taizemes bāts";
          case OTHER:
              default: return "Taizemes bāti";
        }
      }
      case TJS: {
        switch (category) {
          case ZERO: return "Tadžikistānas somoni";
          case ONE: return "Tadžikistānas somons";
          case OTHER:
              default: return "Tadžikistānas somoni";
        }
      }
      case TMM: {
        switch (category) {
          case ZERO: return "Turkmenistānas manati (1993–2009)";
          case ONE: return "Turkmenistānas manats (1993–2009)";
          case OTHER:
              default: return "Turkmenistānas manati (1993–2009)";
        }
      }
      case TMT: {
        switch (category) {
          case ZERO: return "Turkmenistānas manati";
          case ONE: return "Turkmenistānas manats";
          case OTHER:
              default: return "Turkmenistānas manati";
        }
      }
      case TND: {
        switch (category) {
          case ZERO: return "Tunisijas dināri";
          case ONE: return "Tunisijas dinārs";
          case OTHER:
              default: return "Tunisijas dināri";
        }
      }
      case TOP: {
        switch (category) {
          case ZERO: return "Tongas paangas";
          case ONE: return "Tongas paanga";
          case OTHER:
              default: return "Tongas paangas";
        }
      }
      case TRL: {
        switch (category) {
          case ZERO: return "Turcijas liras (1922–2005)";
          case ONE: return "Turcijas lira (1922–2005)";
          case OTHER:
              default: return "Turcijas liras (1922–2005)";
        }
      }
      case TRY: {
        switch (category) {
          case ZERO: return "Turcijas liras";
          case ONE: return "Turcijas lira";
          case OTHER:
              default: return "Turcijas liras";
        }
      }
      case TTD: {
        switch (category) {
          case ZERO: return "Trinidādas un Tobāgo dolāri";
          case ONE: return "Trinidādas un Tobāgo dolārs";
          case OTHER:
              default: return "Trinidādas un Tobāgo dolāri";
        }
      }
      case TWD: {
        switch (category) {
          case ZERO: return "Taivānas jaunie dolāri";
          case ONE: return "Taivānas jaunais dolārs";
          case OTHER:
              default: return "Taivānas jaunie dolāri";
        }
      }
      case TZS: {
        switch (category) {
          case ZERO: return "Tanzānijas šiliņi";
          case ONE: return "Tanzānijas šiliņš";
          case OTHER:
              default: return "Tanzānijas šiliņi";
        }
      }
      case UAH: {
        switch (category) {
          case ZERO: return "Ukrainas grivnas";
          case ONE: return "Ukrainas grivna";
          case OTHER:
              default: return "Ukrainas grivnas";
        }
      }
      case UGX: {
        switch (category) {
          case ZERO: return "Ugandas šiliņi";
          case ONE: return "Ugandas šiliņš";
          case OTHER:
              default: return "Ugandas šiliņi";
        }
      }
      case USD: {
        switch (category) {
          case ZERO: return "ASV dolāri";
          case ONE: return "ASV dolārs";
          case OTHER:
              default: return "ASV dolāri";
        }
      }
      case UYU: {
        switch (category) {
          case ZERO: return "Urugvajas peso";
          case ONE: return "Urugvajas peso";
          case OTHER:
              default: return "Urugvajas peso";
        }
      }
      case UZS: {
        switch (category) {
          case ZERO: return "Uzbekistānas sumi";
          case ONE: return "Uzbekistānas sums";
          case OTHER:
              default: return "Uzbekistānas sumi";
        }
      }
      case VEB: {
        switch (category) {
          case ZERO: return "Venecuēlas bolivāri (1871–2008)";
          case ONE: return "Venecuēlas bolivārs (1871–2008)";
          case OTHER:
              default: return "Venecuēlas bolivāri (1871–2008)";
        }
      }
      case VEF: {
        switch (category) {
          case ZERO: return "Venecuēlas bolivāri";
          case ONE: return "Venecuēlas bolivārs";
          case OTHER:
              default: return "Venecuēlas bolivāri";
        }
      }
      case VND: {
        switch (category) {
          case ZERO: return "Vjetnamas dongi";
          case ONE: return "Vjetnamas dongi";
          case OTHER:
              default: return "Vjetnamas dongi";
        }
      }
      case VUV: {
        switch (category) {
          case ZERO: return "Vanuatu vatu";
          case ONE: return "Vanuatu vatu";
          case OTHER:
              default: return "Vanuatu vatu";
        }
      }
      case WST: {
        switch (category) {
          case ZERO: return "Samoa talas";
          case ONE: return "Samoa tala";
          case OTHER:
              default: return "Samoa talas";
        }
      }
      case XAF: {
        switch (category) {
          case ZERO: return "Centrālāfrikas CFA franki";
          case ONE: return "Centrālāfrikas CFA franks";
          case OTHER:
              default: return "Centrālāfrikas CFA franki";
        }
      }
      case XBA: {
        switch (category) {
          case ZERO: return "Eiropas norēķinu vienības EURCO";
          case ONE: return "Eiropas norēķinu vienība EURCO";
          case OTHER:
              default: return "Eiropas norēķinu vienības EURCO";
        }
      }
      case XBC: {
        switch (category) {
          case ZERO: return "Eiropas norēķinu vienības (XBC)";
          case ONE: return "Eiropas norēķinu vienība (XBC)";
          case OTHER:
              default: return "Eiropas norēķinu vienības (XBC)";
        }
      }
      case XBD: {
        switch (category) {
          case ZERO: return "Eiropas norēķinu vienības (XBD)";
          case ONE: return "Eiropas norēķinu vienība (XBD)";
          case OTHER:
              default: return "Eiropas norēķinu vienības (XBD)";
        }
      }
      case XCD: {
        switch (category) {
          case ZERO: return "Austrumkarību dolāri";
          case ONE: return "Austrumkarību dolārs";
          case OTHER:
              default: return "Austrumkarību dolāri";
        }
      }
      case XOF: {
        switch (category) {
          case ZERO: return "Rietumāfrikas CFA franki";
          case ONE: return "Rietumāfrikas CFA franks";
          case OTHER:
              default: return "Rietumāfrikas CFA franki";
        }
      }
      case XPF: {
        switch (category) {
          case ZERO: return "CFP franki";
          case ONE: return "CFP franks";
          case OTHER:
              default: return "CFP franki";
        }
      }
      case XTS: {
        switch (category) {
          case ZERO: return "testa valūtas kods";
          case ONE: return "testa valūtas kods";
          case OTHER:
              default: return "testa valūtas kods";
        }
      }
      case XXX: {
        switch (category) {
          case ZERO: return "(nezināma valūta)";
          case ONE: return "(nezināma valūta)";
          case OTHER:
              default: return "(nezināma valūta)";
        }
      }
      case YER: {
        switch (category) {
          case ZERO: return "Jemenas riāli";
          case ONE: return "Jemenas riāls";
          case OTHER:
              default: return "Jemenas riāli";
        }
      }
      case ZAR: {
        switch (category) {
          case ZERO: return "Dienvidāfrikas rendi";
          case ONE: return "Dienvidāfrikas rends";
          case OTHER:
              default: return "Dienvidāfrikas rendi";
        }
      }
      case ZMK: {
        switch (category) {
          case ZERO: return "Zambijas kvačas (1968–2012)";
          case ONE: return "Zambijas kvača (1968–2012)";
          case OTHER:
              default: return "Zambijas kvačas (1968–2012)";
        }
      }
      case ZMW: {
        switch (category) {
          case ZERO: return "Zambijas kvačas";
          case ONE: return "Zambijas kvača";
          case OTHER:
              default: return "Zambijas kvačas";
        }
      }
      case ZWL: {
        switch (category) {
          case ZERO: return "Zimbabves dollāri (2009)";
          case ONE: return "Zimbabves dollārs (2009)";
          case OTHER:
              default: return "Zimbabves dollāri (2009)";
        }
      }
      default: return "";
    }
  }

  public int getCurrencyDigits(CLDR.Currency code) {
    return _CurrencyUtil.getCurrencyDigits(code);
  }

  protected void wrapUnits(PluralCategory category, DigitBuffer dbuf, String unit,
      StringBuilder dest) {
    dbuf.appendTo(dest);
    dest.append(" ");
    dest.append(unit);
  }

  private static class _Params extends NumberFormatterParams {
    _Params() {
      this.decimal = ",";
      this.group = " ";
      this.percent = "%";
      this.minus = "-";
      this.plus = "+";
      this.exponential = "E";
      this.superscriptingExponent = "×";
      this.perMille = "‰";
      this.infinity = "∞";
      this.nan = "NS";
      this.currencyDecimal = ",";
      this.currencyGroup = " ";
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy