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

com.squarespace.cldr.numbers._NumberFormatter_sw 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_sw 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_ONE = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("elfu 0", "elfu -0"),
    /*  10K */  patterns("elfu 00", "elfu -00"),
    /* 100K */  patterns("elfu 000", "elfu -000"),
    /*   1M */  patterns("M0", "M-0"),
    /*  10M */  patterns("M00", "M-00"),
    /* 100M */  patterns("M000", "M-000"),
    /*   1B */  patterns("B0", "B-0"),
    /*  10B */  patterns("B00", "B-00"),
    /* 100B */  patterns("B000", "B-000"),
    /*   1T */  patterns("T0", "T-0"),
    /*  10T */  patterns("T00", "T-00"),
    /* 100T */  patterns("T000", "T-000")}
  ;

  protected static final NumberPattern[][] DECIMAL_SHORT_OTHER = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("elfu 0", "elfu -0"),
    /*  10K */  patterns("elfu 00", "elfu -00"),
    /* 100K */  patterns("elfu 000", "elfu -000"),
    /*   1M */  patterns("M0", "M-0"),
    /*  10M */  patterns("M00", "M-00"),
    /* 100M */  patterns("M000", "M-000"),
    /*   1B */  patterns("B0", "B-0"),
    /*  10B */  patterns("B00", "B-00"),
    /* 100B */  patterns("B000", "B-000"),
    /*   1T */  patterns("T0", "T-0"),
    /*  10T */  patterns("T00", "T-00"),
    /* 100T */  patterns("T000", "T-000")}
  ;

  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_ONE = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("Elfu 0", "Elfu -0"),
    /*  10K */  patterns("Elfu 00", "Elfu -00"),
    /* 100K */  patterns("Elfu 000", "Elfu -000"),
    /*   1M */  patterns("Milioni 0", "Milioni -0"),
    /*  10M */  patterns("Milioni 00", "Milioni -00"),
    /* 100M */  patterns("Milioni 000", "Milioni -000"),
    /*   1B */  patterns("Bilioni 0", "Bilioni -0"),
    /*  10B */  patterns("Bilioni 00", "Bilioni -00"),
    /* 100B */  patterns("Bilioni 000", "Bilioni -000"),
    /*   1T */  patterns("Trilioni 0", "Trilioni -0"),
    /*  10T */  patterns("Trilioni 00", "Trilioni -00"),
    /* 100T */  patterns("Trilioni 000", "Trilioni -000")}
  ;

  protected static final NumberPattern[][] DECIMAL_LONG_OTHER = new NumberPattern[][] {
    /*    1 */  patterns("#,##0.###", "-#,##0.###"),
    /*   10 */  patterns("#,##0.###", "-#,##0.###"),
    /*  100 */  patterns("#,##0.###", "-#,##0.###"),
    /*   1K */  patterns("Elfu 0", "Elfu -0"),
    /*  10K */  patterns("Elfu 00", "Elfu -00"),
    /* 100K */  patterns("Elfu 000", "Elfu -000"),
    /*   1M */  patterns("Milioni 0", "Milioni -0"),
    /*  10M */  patterns("Milioni 00", "Milioni -00"),
    /* 100M */  patterns("Milioni 000", "Milioni -000"),
    /*   1B */  patterns("Bilioni 0", "Bilioni -0"),
    /*  10B */  patterns("Bilioni 00", "Bilioni -00"),
    /* 100B */  patterns("Bilioni 000", "Bilioni -000"),
    /*   1T */  patterns("Trilioni 0", "Trilioni -0"),
    /*  10T */  patterns("Trilioni 00", "Trilioni -00"),
    /* 100T */  patterns("Trilioni 000", "Trilioni -000")}
  ;

  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_ONE = new NumberPattern[][] {
    /*    1 */  patterns("¤#,##0.00", "-¤#,##0.00"),
    /*   10 */  patterns("¤#,##0.00", "-¤#,##0.00"),
    /*  100 */  patterns("¤#,##0.00", "-¤#,##0.00"),
    /*   1K */  patterns("¤elfu 0", "¤elfu -0"),
    /*  10K */  patterns("¤elfu 00", "¤elfu -00"),
    /* 100K */  patterns("¤laki 000", "¤laki -000"),
    /*   1M */  patterns("¤M0", "¤M-0"),
    /*  10M */  patterns("¤M00", "¤M-00"),
    /* 100M */  patterns("¤M000", "¤M-000"),
    /*   1B */  patterns("¤B0", "¤B-0"),
    /*  10B */  patterns("¤B00", "¤B-00"),
    /* 100B */  patterns("¤B000", "¤B-000"),
    /*   1T */  patterns("¤T0", "¤T-0"),
    /*  10T */  patterns("¤T00", "¤T-00"),
    /* 100T */  patterns("¤T000", "¤T-000")}
  ;

  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("¤elfu 0", "¤elfu -0"),
    /*  10K */  patterns("¤elfu 00", "¤elfu -00"),
    /* 100K */  patterns("¤laki 000", "¤laki -000"),
    /*   1M */  patterns("¤M0", "¤M-0"),
    /*  10M */  patterns("¤M00", "¤M-00"),
    /* 100M */  patterns("¤M000", "¤M-000"),
    /*   1B */  patterns("¤B0", "¤B-0"),
    /*  10B */  patterns("¤B00", "¤B-00"),
    /* 100B */  patterns("¤B000", "¤B-000"),
    /*   1T */  patterns("¤T0", "¤T-0"),
    /*  10T */  patterns("¤T00", "¤T-00"),
    /* 100T */  patterns("¤T000", "¤T-000")}
  ;

  protected static final Map> UNITS_LONG_ONE = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("mvuto wa graviti {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("mita {0} kwa kila sekunde mraba"));
    put(Unit.ARC_MINUTE, unitPattern("dakika {0}"));
    put(Unit.ARC_SECOND, unitPattern("sekunde {0}"));
    put(Unit.DEGREE, unitPattern("digrii {0}"));
    put(Unit.RADIAN, unitPattern("radiani {0}"));
    put(Unit.REVOLUTION, unitPattern("mzunguko {0}"));
    put(Unit.ACRE, unitPattern("ekari {0}"));
    put(Unit.HECTARE, unitPattern("hekta {0}"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("sentimita mraba {0}"));
    put(Unit.SQUARE_FOOT, unitPattern("futi {0} ya mraba"));
    put(Unit.SQUARE_INCH, unitPattern("inchi {0} ya mraba"));
    put(Unit.SQUARE_KILOMETER, unitPattern("kilomita {0} ya mraba"));
    put(Unit.SQUARE_METER, unitPattern("mita {0} ya mraba"));
    put(Unit.SQUARE_MILE, unitPattern("maili {0} ya mraba"));
    put(Unit.SQUARE_YARD, unitPattern("yadi {0} ya mraba"));
    put(Unit.KARAT, unitPattern("karati {0}"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("miligramu kwa kila desilita"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("milimoli {0} kwa kila lita"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("lita {0} kwa kilomita 100"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("lita {0} kwa kilomita"));
    put(Unit.MILE_PER_GALLON, unitPattern("maili {0} kwa kila galoni"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("maili {0} kwa kila galoni la Uingereza"));
    put(Unit.BIT, unitPattern("biti {0}"));
    put(Unit.BYTE, unitPattern("baiti {0}"));
    put(Unit.GIGABIT, unitPattern("gigabiti {0}"));
    put(Unit.GIGABYTE, unitPattern("gigabaiti {0}"));
    put(Unit.KILOBIT, unitPattern("kilobiti {0}"));
    put(Unit.KILOBYTE, unitPattern("kilobaiti {0}"));
    put(Unit.MEGABIT, unitPattern("megabiti {0}"));
    put(Unit.MEGABYTE, unitPattern("megabaiti {0}"));
    put(Unit.TERABIT, unitPattern("terabiti {0}"));
    put(Unit.TERABYTE, unitPattern("terabaiti {0}"));
    put(Unit.CENTURY, unitPattern("karne ya {0}"));
    put(Unit.DAY, unitPattern("siku {0}"));
    put(Unit.HOUR, unitPattern("saa {0}"));
    put(Unit.MICROSECOND, unitPattern("mikrosekunde {0}"));
    put(Unit.MILLISECOND, unitPattern("millisekunde {0}"));
    put(Unit.MINUTE, unitPattern("dakika {0}"));
    put(Unit.MONTH, unitPattern("mwezi {0}"));
    put(Unit.NANOSECOND, unitPattern("nanosekunde {0}"));
    put(Unit.SECOND, unitPattern("sekunde {0}"));
    put(Unit.WEEK, unitPattern("wiki {0}"));
    put(Unit.YEAR, unitPattern("mwaka {0}"));
    put(Unit.AMPERE, unitPattern("ampea {0}"));
    put(Unit.MILLIAMPERE, unitPattern("miliampea {0}"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("volti {0}"));
    put(Unit.CALORIE, unitPattern("kalori {0}"));
    put(Unit.FOODCALORIE, unitPattern("kalori {0}"));
    put(Unit.JOULE, unitPattern("jouli {0}"));
    put(Unit.KILOCALORIE, unitPattern("kilokalori {0}"));
    put(Unit.KILOJOULE, unitPattern("kilojuli {0}"));
    put(Unit.KILOWATT_HOUR, unitPattern("kilowati {0} kwa saa"));
    put(Unit.GIGAHERTZ, unitPattern("gigahezi {0}"));
    put(Unit.HERTZ, unitPattern("hezi {0}"));
    put(Unit.KILOHERTZ, unitPattern("kilohezi {0}"));
    put(Unit.MEGAHERTZ, unitPattern("megahezi {0}"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("kipimo {0} cha astronomia"));
    put(Unit.CENTIMETER, unitPattern("sentimita {0}"));
    put(Unit.DECIMETER, unitPattern("desimita {0}"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("futi {0}"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("inchi {0}"));
    put(Unit.KILOMETER, unitPattern("kilomita {0}"));
    put(Unit.LIGHT_YEAR, unitPattern("miaka ya mwanga {0}"));
    put(Unit.METER, unitPattern("mita {0}"));
    put(Unit.MICROMETER, unitPattern("mikromita {0}"));
    put(Unit.MILE, unitPattern("maili {0}"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("maili ya skandinavia"));
    put(Unit.MILLIMETER, unitPattern("milimita {0}"));
    put(Unit.NANOMETER, unitPattern("nanomita {0}"));
    put(Unit.NAUTICAL_MILE, unitPattern("maili {0} ya kibaharia"));
    put(Unit.PARSEC, unitPattern("{0} kila sekunde"));
    put(Unit.PICOMETER, unitPattern("pikomita {0}"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("yadi {0}"));
    put(Unit.LUX, unitPattern("lux {0}"));
    put(Unit.CARAT, unitPattern("karati {0}"));
    put(Unit.GRAM, unitPattern("gramu {0}"));
    put(Unit.KILOGRAM, unitPattern("kilogramu {0}"));
    put(Unit.METRIC_TON, unitPattern("tani mita {0}"));
    put(Unit.MICROGRAM, unitPattern("mikrogramu {0}"));
    put(Unit.MILLIGRAM, unitPattern("miligramu {0}"));
    put(Unit.OUNCE, unitPattern("aunsi {0}"));
    put(Unit.OUNCE_TROY, unitPattern("tola aunsi {0}"));
    put(Unit.POUND, unitPattern("ratili {0}"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("tani {0}"));
    put(Unit.GIGAWATT, unitPattern("gigawati {0}"));
    put(Unit.HORSEPOWER, unitPattern("kipimo cha hospawa {0}"));
    put(Unit.KILOWATT, unitPattern("kilowati {0}"));
    put(Unit.MEGAWATT, unitPattern("megawati {0}"));
    put(Unit.MILLIWATT, unitPattern("miliwati {0}"));
    put(Unit.WATT, unitPattern("wati {0}"));
    put(Unit.HECTOPASCAL, unitPattern("hektopaskali {0}"));
    put(Unit.INCH_HG, unitPattern("inchi {0} ya zebaki"));
    put(Unit.MILLIBAR, unitPattern("kipimo cha milibari {0}"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("milimita {0} ya zebaki"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("pauni {0} kwa kila inchi mraba"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("kilomita {0} kwa saa"));
    put(Unit.KNOT, unitPattern("noti {0}"));
    put(Unit.METER_PER_SECOND, unitPattern("mita {0} kwa sekunde"));
    put(Unit.MILE_PER_HOUR, unitPattern("maili {0} kwa saa"));
    put(Unit.CELSIUS, unitPattern("nyuzi {0}"));
    put(Unit.FAHRENHEIT, unitPattern("nyuzi za farenheiti {0}"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("kelvini {0}"));
    put(Unit.ACRE_FOOT, unitPattern("ekari futi {0}"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("sentilita {0}"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("sentimita {0} ya ujazo"));
    put(Unit.CUBIC_FOOT, unitPattern("futi {0} ya ujazo"));
    put(Unit.CUBIC_INCH, unitPattern("inchi {0} ya ujazo"));
    put(Unit.CUBIC_KILOMETER, unitPattern("kilomita {0} ya ujazo"));
    put(Unit.CUBIC_METER, unitPattern("mita {0} ya ujazo"));
    put(Unit.CUBIC_MILE, unitPattern("maili {0} ya ujazo"));
    put(Unit.CUBIC_YARD, unitPattern("yadi {0} ya ujazo"));
    put(Unit.CUP, unitPattern("kikombe {0}"));
    put(Unit.CUP_METRIC, unitPattern("kikombe {0} cha mizani"));
    put(Unit.DECILITER, unitPattern("desilita {0}"));
    put(Unit.FLUID_OUNCE, unitPattern("aunsi {0} ya ujazo"));
    put(Unit.GALLON, unitPattern("galoni {0}"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal Imp."));
    put(Unit.HECTOLITER, unitPattern("hektolita {0}"));
    put(Unit.LITER, unitPattern("lita {0}"));
    put(Unit.MEGALITER, unitPattern("megalita {0}"));
    put(Unit.MILLILITER, unitPattern("mililita {0}"));
    put(Unit.PINT, unitPattern("painti {0}"));
    put(Unit.PINT_METRIC, unitPattern("painti {0} ya mizani"));
    put(Unit.QUART, unitPattern("kwati {0}"));
    put(Unit.TABLESPOON, unitPattern("kijiko {0} kikubwa"));
    put(Unit.TEASPOON, unitPattern("kijiko {0} kidogo"));
  }};

  protected static final Map> UNITS_LONG_OTHER = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("mvuto wa graviti {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("mita {0} kwa kila sekunde mraba"));
    put(Unit.ARC_MINUTE, unitPattern("dakika {0}"));
    put(Unit.ARC_SECOND, unitPattern("sekunde {0}"));
    put(Unit.DEGREE, unitPattern("digrii {0}"));
    put(Unit.RADIAN, unitPattern("radiani {0}"));
    put(Unit.REVOLUTION, unitPattern("mizunguko {0}"));
    put(Unit.ACRE, unitPattern("ekari {0}"));
    put(Unit.HECTARE, unitPattern("hekta {0}"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("sentimita mraba {0}"));
    put(Unit.SQUARE_FOOT, unitPattern("futi {0} za mraba"));
    put(Unit.SQUARE_INCH, unitPattern("inchi {0} za mraba"));
    put(Unit.SQUARE_KILOMETER, unitPattern("kilomita {0} za mraba"));
    put(Unit.SQUARE_METER, unitPattern("mita {0} za mraba"));
    put(Unit.SQUARE_MILE, unitPattern("maili {0} za mraba"));
    put(Unit.SQUARE_YARD, unitPattern("yadi {0} za mraba"));
    put(Unit.KARAT, unitPattern("karati {0}"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("miligramu {0} kwa kila desilita"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("milimoli {0} kwa kila lita"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("lita {0} kwa kilomita 100"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("lita {0} kwa kilomita"));
    put(Unit.MILE_PER_GALLON, unitPattern("maili {0} kwa kila galoni"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("maili {0} kwa kila galoni la Uingereza"));
    put(Unit.BIT, unitPattern("biti {0}"));
    put(Unit.BYTE, unitPattern("baiti {0}"));
    put(Unit.GIGABIT, unitPattern("gigabiti {0}"));
    put(Unit.GIGABYTE, unitPattern("gigabaiti {0}"));
    put(Unit.KILOBIT, unitPattern("kilobiti {0}"));
    put(Unit.KILOBYTE, unitPattern("kilobaiti {0}"));
    put(Unit.MEGABIT, unitPattern("megabiti {0}"));
    put(Unit.MEGABYTE, unitPattern("megabaiti {0}"));
    put(Unit.TERABIT, unitPattern("terabiti {0}"));
    put(Unit.TERABYTE, unitPattern("terabaiti {0}"));
    put(Unit.CENTURY, unitPattern("karne za {0}"));
    put(Unit.DAY, unitPattern("siku {0}"));
    put(Unit.HOUR, unitPattern("saa {0}"));
    put(Unit.MICROSECOND, unitPattern("mikrosekunde {0}"));
    put(Unit.MILLISECOND, unitPattern("millisekunde {0}"));
    put(Unit.MINUTE, unitPattern("dakika {0}"));
    put(Unit.MONTH, unitPattern("miezi {0}"));
    put(Unit.NANOSECOND, unitPattern("nanosekunde {0}"));
    put(Unit.SECOND, unitPattern("sekunde {0}"));
    put(Unit.WEEK, unitPattern("wiki {0}"));
    put(Unit.YEAR, unitPattern("miaka {0}"));
    put(Unit.AMPERE, unitPattern("ampea {0}"));
    put(Unit.MILLIAMPERE, unitPattern("miliampea {0}"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("volti {0}"));
    put(Unit.CALORIE, unitPattern("kalori {0}"));
    put(Unit.FOODCALORIE, unitPattern("kalori {0}"));
    put(Unit.JOULE, unitPattern("jouli {0}"));
    put(Unit.KILOCALORIE, unitPattern("kilokalori {0}"));
    put(Unit.KILOJOULE, unitPattern("kilojuli {0}"));
    put(Unit.KILOWATT_HOUR, unitPattern("kilowati {0} kwa saa"));
    put(Unit.GIGAHERTZ, unitPattern("gigahezi {0}"));
    put(Unit.HERTZ, unitPattern("hezi {0}"));
    put(Unit.KILOHERTZ, unitPattern("kilohezi {0}"));
    put(Unit.MEGAHERTZ, unitPattern("megahezi {0}"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("vipimo {0} vya astronomia"));
    put(Unit.CENTIMETER, unitPattern("sentimita {0}"));
    put(Unit.DECIMETER, unitPattern("desimita {0}"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("futi {0}"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("inchi {0}"));
    put(Unit.KILOMETER, unitPattern("kilomita {0}"));
    put(Unit.LIGHT_YEAR, unitPattern("miaka ya mwanga {0}"));
    put(Unit.METER, unitPattern("mita {0}"));
    put(Unit.MICROMETER, unitPattern("mikromita {0}"));
    put(Unit.MILE, unitPattern("maili {0}"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} smi"));
    put(Unit.MILLIMETER, unitPattern("milimita {0}"));
    put(Unit.NANOMETER, unitPattern("nanomita {0}"));
    put(Unit.NAUTICAL_MILE, unitPattern("maili {0} za kibaharia"));
    put(Unit.PARSEC, unitPattern("{0} kila sekunde"));
    put(Unit.PICOMETER, unitPattern("pikomita {0}"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("yadi {0}"));
    put(Unit.LUX, unitPattern("lux {0}"));
    put(Unit.CARAT, unitPattern("karati {0}"));
    put(Unit.GRAM, unitPattern("gramu {0}"));
    put(Unit.KILOGRAM, unitPattern("kilogramu {0}"));
    put(Unit.METRIC_TON, unitPattern("tani mita {0}"));
    put(Unit.MICROGRAM, unitPattern("mikrogramu {0}"));
    put(Unit.MILLIGRAM, unitPattern("miligramu {0}"));
    put(Unit.OUNCE, unitPattern("aunsi {0}"));
    put(Unit.OUNCE_TROY, unitPattern("tola aunsi {0}"));
    put(Unit.POUND, unitPattern("ratili {0}"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("tani {0}"));
    put(Unit.GIGAWATT, unitPattern("gigawati {0}"));
    put(Unit.HORSEPOWER, unitPattern("kipimo cha hospawa {0}"));
    put(Unit.KILOWATT, unitPattern("kilowati {0}"));
    put(Unit.MEGAWATT, unitPattern("megawati {0}"));
    put(Unit.MILLIWATT, unitPattern("miliwati {0}"));
    put(Unit.WATT, unitPattern("wati {0}"));
    put(Unit.HECTOPASCAL, unitPattern("hektopaskali {0}"));
    put(Unit.INCH_HG, unitPattern("inchi {0} za zebaki"));
    put(Unit.MILLIBAR, unitPattern("kipimo cha milibari {0}"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("milimita {0} za zebaki"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("pauni {0} kwa kila inchi mraba"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("kilomita {0} kwa saa"));
    put(Unit.KNOT, unitPattern("noti {0}"));
    put(Unit.METER_PER_SECOND, unitPattern("mita {0} kwa sekunde"));
    put(Unit.MILE_PER_HOUR, unitPattern("maili {0} kwa saa"));
    put(Unit.CELSIUS, unitPattern("nyuzi {0}"));
    put(Unit.FAHRENHEIT, unitPattern("nyuzi za farenheiti {0}"));
    put(Unit.TEMPERATURE_GENERIC, unitPattern("{0}°"));
    put(Unit.KELVIN, unitPattern("kelvini {0}"));
    put(Unit.ACRE_FOOT, unitPattern("ekari futi {0}"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("sentilita {0}"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("sentimita {0} za ujazo"));
    put(Unit.CUBIC_FOOT, unitPattern("futi {0} za ujazo"));
    put(Unit.CUBIC_INCH, unitPattern("inchi {0} za ujazo"));
    put(Unit.CUBIC_KILOMETER, unitPattern("kilomita {0} za ujazo"));
    put(Unit.CUBIC_METER, unitPattern("mita {0} za ujazo"));
    put(Unit.CUBIC_MILE, unitPattern("maili {0} za ujazo"));
    put(Unit.CUBIC_YARD, unitPattern("yadi {0} za ujazo"));
    put(Unit.CUP, unitPattern("vikombe {0}"));
    put(Unit.CUP_METRIC, unitPattern("vikombe {0} vya mizani"));
    put(Unit.DECILITER, unitPattern("desilita {0}"));
    put(Unit.FLUID_OUNCE, unitPattern("aunsi {0} za ujazo"));
    put(Unit.GALLON, unitPattern("galoni {0}"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal Imp."));
    put(Unit.HECTOLITER, unitPattern("hektolita {0}"));
    put(Unit.LITER, unitPattern("lita {0}"));
    put(Unit.MEGALITER, unitPattern("megalita {0}"));
    put(Unit.MILLILITER, unitPattern("mililita {0}"));
    put(Unit.PINT, unitPattern("painti {0}"));
    put(Unit.PINT_METRIC, unitPattern("painti {0} za mizani"));
    put(Unit.QUART, unitPattern("kwati {0}"));
    put(Unit.TABLESPOON, unitPattern("vijiko {0} vikubwa"));
    put(Unit.TEASPOON, unitPattern("vijiko {0} vidogo"));
  }};

  protected static final Map> UNITS_NARROW_ONE = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("G {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("m {0}/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("radiani {0}"));
    put(Unit.REVOLUTION, unitPattern("mzunguko {0}"));
    put(Unit.ACRE, unitPattern("Ekari {0}"));
    put(Unit.HECTARE, unitPattern("ha {0}"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("cm² {0}"));
    put(Unit.SQUARE_FOOT, unitPattern("ft² {0}"));
    put(Unit.SQUARE_INCH, unitPattern("in² {0}"));
    put(Unit.SQUARE_KILOMETER, unitPattern("km² {0}"));
    put(Unit.SQUARE_METER, unitPattern("m² {0}"));
    put(Unit.SQUARE_MILE, unitPattern("mi² {0}"));
    put(Unit.SQUARE_YARD, unitPattern("yadi {0} ya mraba"));
    put(Unit.KARAT, unitPattern("karati {0}"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("mmol {0}/lita"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0}L/100km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("lita {0} kwa kilomita"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("biti {0}"));
    put(Unit.BYTE, unitPattern("baiti {0}"));
    put(Unit.GIGABIT, unitPattern("gigabiti {0}"));
    put(Unit.GIGABYTE, unitPattern("GB {0}"));
    put(Unit.KILOBIT, unitPattern("kilobiti {0}"));
    put(Unit.KILOBYTE, unitPattern("kilobaiti {0}"));
    put(Unit.MEGABIT, unitPattern("megabiti {0}"));
    put(Unit.MEGABYTE, unitPattern("MB {0}"));
    put(Unit.TERABIT, unitPattern("terabiti {0}"));
    put(Unit.TERABYTE, unitPattern("terabaiti {0}"));
    put(Unit.CENTURY, unitPattern("karne ya {0}"));
    put(Unit.DAY, unitPattern("siku {0}"));
    put(Unit.HOUR, unitPattern("saa {0}"));
    put(Unit.MICROSECOND, unitPattern("mikrosekunde {0}"));
    put(Unit.MILLISECOND, unitPattern("ms {0}"));
    put(Unit.MINUTE, unitPattern("dakika {0}"));
    put(Unit.MONTH, unitPattern("mwezi {0}"));
    put(Unit.NANOSECOND, unitPattern("nanosekunde {0}"));
    put(Unit.SECOND, unitPattern("sekunde {0}"));
    put(Unit.WEEK, unitPattern("wiki {0}"));
    put(Unit.YEAR, unitPattern("mwaka {0}"));
    put(Unit.AMPERE, unitPattern("ampea {0}"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("volti {0}"));
    put(Unit.CALORIE, unitPattern("kalori {0}"));
    put(Unit.FOODCALORIE, unitPattern("kalori {0}"));
    put(Unit.JOULE, unitPattern("jouli {0}"));
    put(Unit.KILOCALORIE, unitPattern("kilokalori {0}"));
    put(Unit.KILOJOULE, unitPattern("kilojuli {0}"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("gigahezi {0}"));
    put(Unit.HERTZ, unitPattern("hezi {0}"));
    put(Unit.KILOHERTZ, unitPattern("kilohezi {0}"));
    put(Unit.MEGAHERTZ, unitPattern("megahezi {0}"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("au {0}"));
    put(Unit.CENTIMETER, unitPattern("{0} cm"));
    put(Unit.DECIMETER, unitPattern("desimita {0}"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("Futi {0}"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("Inchi {0}"));
    put(Unit.KILOMETER, unitPattern("km {0}"));
    put(Unit.LIGHT_YEAR, unitPattern("ly {0}"));
    put(Unit.METER, unitPattern("mita {0}"));
    put(Unit.MICROMETER, unitPattern("mikromita {0}"));
    put(Unit.MILE, unitPattern("Maili {0}"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} smi"));
    put(Unit.MILLIMETER, unitPattern("{0} mm"));
    put(Unit.NANOMETER, unitPattern("nanomita {0}"));
    put(Unit.NAUTICAL_MILE, unitPattern("maili {0} ya kibaharia"));
    put(Unit.PARSEC, unitPattern("{0} pc"));
    put(Unit.PICOMETER, unitPattern("pm {0}"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("Yadi {0}"));
    put(Unit.LUX, unitPattern("lx {0}"));
    put(Unit.CARAT, unitPattern("karati {0}"));
    put(Unit.GRAM, unitPattern("gramu {0}"));
    put(Unit.KILOGRAM, unitPattern("kg {0}"));
    put(Unit.METRIC_TON, unitPattern("tani mita {0}"));
    put(Unit.MICROGRAM, unitPattern("mikrogramu {0}"));
    put(Unit.MILLIGRAM, unitPattern("mg {0}"));
    put(Unit.OUNCE, unitPattern("Aunsi {0}"));
    put(Unit.OUNCE_TROY, unitPattern("tola aunsi {0}"));
    put(Unit.POUND, unitPattern("Ratili {0}"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("tani {0}"));
    put(Unit.GIGAWATT, unitPattern("gigawati {0}"));
    put(Unit.HORSEPOWER, unitPattern("hp {0}"));
    put(Unit.KILOWATT, unitPattern("kW {0}"));
    put(Unit.MEGAWATT, unitPattern("megawati {0}"));
    put(Unit.MILLIWATT, unitPattern("miliwati {0}"));
    put(Unit.WATT, unitPattern("Wati {0}"));
    put(Unit.HECTOPASCAL, unitPattern("hPa {0}"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("mbar {0}"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("milimita {0} ya zebaki"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("psi {0}"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("km {0}/saa"));
    put(Unit.KNOT, unitPattern("noti {0}"));
    put(Unit.METER_PER_SECOND, unitPattern("m {0}/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("mi {0}/saa"));
    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("ekari futi {0}"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("sentilita {0}"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("cm³ {0}"));
    put(Unit.CUBIC_FOOT, unitPattern("ft³ {0}"));
    put(Unit.CUBIC_INCH, unitPattern("in³ {0}"));
    put(Unit.CUBIC_KILOMETER, unitPattern("km³ {0}"));
    put(Unit.CUBIC_METER, unitPattern("m³ {0}"));
    put(Unit.CUBIC_MILE, unitPattern("mi³ {0}"));
    put(Unit.CUBIC_YARD, unitPattern("yd³ {0}"));
    put(Unit.CUP, unitPattern("kikombe {0}"));
    put(Unit.CUP_METRIC, unitPattern("mc {0}"));
    put(Unit.DECILITER, unitPattern("desilita {0}"));
    put(Unit.FLUID_OUNCE, unitPattern("fl oz {0}"));
    put(Unit.GALLON, unitPattern("galoni {0}"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal Imp."));
    put(Unit.HECTOLITER, unitPattern("hektolita {0}"));
    put(Unit.LITER, unitPattern("lita {0}"));
    put(Unit.MEGALITER, unitPattern("megalita {0}"));
    put(Unit.MILLILITER, unitPattern("mililita {0}"));
    put(Unit.PINT, unitPattern("painti {0}"));
    put(Unit.PINT_METRIC, unitPattern("mpt {0}"));
    put(Unit.QUART, unitPattern("kwati {0}"));
    put(Unit.TABLESPOON, unitPattern("kijiko {0} kikubwa"));
    put(Unit.TEASPOON, unitPattern("kijiko {0} kidogo"));
  }};

  protected static final Map> UNITS_NARROW_OTHER = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("G {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("m {0}/s²"));
    put(Unit.ARC_MINUTE, unitPattern("{0}′"));
    put(Unit.ARC_SECOND, unitPattern("{0}″"));
    put(Unit.DEGREE, unitPattern("{0}°"));
    put(Unit.RADIAN, unitPattern("radiani {0}"));
    put(Unit.REVOLUTION, unitPattern("mizunguko {0}"));
    put(Unit.ACRE, unitPattern("Ekari {0}"));
    put(Unit.HECTARE, unitPattern("ha {0}"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("cm² {0}"));
    put(Unit.SQUARE_FOOT, unitPattern("ft² {0}"));
    put(Unit.SQUARE_INCH, unitPattern("in² {0}"));
    put(Unit.SQUARE_KILOMETER, unitPattern("km² {0}"));
    put(Unit.SQUARE_METER, unitPattern("m² {0}"));
    put(Unit.SQUARE_MILE, unitPattern("mi² {0}"));
    put(Unit.SQUARE_YARD, unitPattern("yadi {0} za mraba"));
    put(Unit.KARAT, unitPattern("karati {0}"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("mmol {0}/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("{0}L/100km"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("lita {0} kwa kilomita"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("biti {0}"));
    put(Unit.BYTE, unitPattern("baiti {0}"));
    put(Unit.GIGABIT, unitPattern("gigabiti {0}"));
    put(Unit.GIGABYTE, unitPattern("GB {0}"));
    put(Unit.KILOBIT, unitPattern("kilobiti {0}"));
    put(Unit.KILOBYTE, unitPattern("kilobaiti {0}"));
    put(Unit.MEGABIT, unitPattern("megabiti {0}"));
    put(Unit.MEGABYTE, unitPattern("MB {0}"));
    put(Unit.TERABIT, unitPattern("terabiti {0}"));
    put(Unit.TERABYTE, unitPattern("terabaiti {0}"));
    put(Unit.CENTURY, unitPattern("karne za {0}"));
    put(Unit.DAY, unitPattern("siku {0}"));
    put(Unit.HOUR, unitPattern("saa {0}"));
    put(Unit.MICROSECOND, unitPattern("mikrosekunde {0}"));
    put(Unit.MILLISECOND, unitPattern("ms {0}"));
    put(Unit.MINUTE, unitPattern("dakika {0}"));
    put(Unit.MONTH, unitPattern("miezi {0}"));
    put(Unit.NANOSECOND, unitPattern("nanosekunde {0}"));
    put(Unit.SECOND, unitPattern("sekunde {0}"));
    put(Unit.WEEK, unitPattern("wiki {0}"));
    put(Unit.YEAR, unitPattern("miaka {0}"));
    put(Unit.AMPERE, unitPattern("ampea {0}"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("volti {0}"));
    put(Unit.CALORIE, unitPattern("kalori {0}"));
    put(Unit.FOODCALORIE, unitPattern("kalori {0}"));
    put(Unit.JOULE, unitPattern("jouli {0}"));
    put(Unit.KILOCALORIE, unitPattern("kilokalori {0}"));
    put(Unit.KILOJOULE, unitPattern("kilojuli {0}"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("gigahezi {0}"));
    put(Unit.HERTZ, unitPattern("hezi {0}"));
    put(Unit.KILOHERTZ, unitPattern("kilohezi {0}"));
    put(Unit.MEGAHERTZ, unitPattern("megahezi {0}"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("au {0}"));
    put(Unit.CENTIMETER, unitPattern("{0} cm"));
    put(Unit.DECIMETER, unitPattern("desimita {0}"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("Futi {0}"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("Inchi {0}"));
    put(Unit.KILOMETER, unitPattern("km {0}"));
    put(Unit.LIGHT_YEAR, unitPattern("ly {0}"));
    put(Unit.METER, unitPattern("mita {0}"));
    put(Unit.MICROMETER, unitPattern("mikromita {0}"));
    put(Unit.MILE, unitPattern("Maili {0}"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} smi"));
    put(Unit.MILLIMETER, unitPattern("{0} mm"));
    put(Unit.NANOMETER, unitPattern("nanomita {0}"));
    put(Unit.NAUTICAL_MILE, unitPattern("maili {0} za kibaharia"));
    put(Unit.PARSEC, unitPattern("{0} pc"));
    put(Unit.PICOMETER, unitPattern("pm {0}"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("Yadi {0}"));
    put(Unit.LUX, unitPattern("lx {0}"));
    put(Unit.CARAT, unitPattern("karati {0}"));
    put(Unit.GRAM, unitPattern("gramu {0}"));
    put(Unit.KILOGRAM, unitPattern("kg {0}"));
    put(Unit.METRIC_TON, unitPattern("tani mita {0}"));
    put(Unit.MICROGRAM, unitPattern("mikrogramu {0}"));
    put(Unit.MILLIGRAM, unitPattern("mg {0}"));
    put(Unit.OUNCE, unitPattern("Aunsi {0}"));
    put(Unit.OUNCE_TROY, unitPattern("tola aunsi {0}"));
    put(Unit.POUND, unitPattern("Ratili {0}"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("tani {0}"));
    put(Unit.GIGAWATT, unitPattern("gigawati {0}"));
    put(Unit.HORSEPOWER, unitPattern("hp {0}"));
    put(Unit.KILOWATT, unitPattern("kW {0}"));
    put(Unit.MEGAWATT, unitPattern("megawati {0}"));
    put(Unit.MILLIWATT, unitPattern("miliwati {0}"));
    put(Unit.WATT, unitPattern("Wati {0}"));
    put(Unit.HECTOPASCAL, unitPattern("hPa {0}"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("mbar {0}"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("milimita {0} za zebaki"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("psi {0}"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("km {0}/saa"));
    put(Unit.KNOT, unitPattern("noti {0}"));
    put(Unit.METER_PER_SECOND, unitPattern("m {0}/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("mi {0}/saa"));
    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("ekari futi {0}"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("sentilita {0}"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("cm³ {0}"));
    put(Unit.CUBIC_FOOT, unitPattern("ft³ {0}"));
    put(Unit.CUBIC_INCH, unitPattern("in³ {0}"));
    put(Unit.CUBIC_KILOMETER, unitPattern("km³ {0}"));
    put(Unit.CUBIC_METER, unitPattern("mita {0} za ujazo"));
    put(Unit.CUBIC_MILE, unitPattern("mi³ {0}"));
    put(Unit.CUBIC_YARD, unitPattern("yd³ {0}"));
    put(Unit.CUP, unitPattern("vikombe {0}"));
    put(Unit.CUP_METRIC, unitPattern("vikombe {0} vya mizani"));
    put(Unit.DECILITER, unitPattern("desilita {0}"));
    put(Unit.FLUID_OUNCE, unitPattern("fl oz {0}"));
    put(Unit.GALLON, unitPattern("galoni {0}"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal Imp."));
    put(Unit.HECTOLITER, unitPattern("hektolita {0}"));
    put(Unit.LITER, unitPattern("lita {0}"));
    put(Unit.MEGALITER, unitPattern("megalita {0}"));
    put(Unit.MILLILITER, unitPattern("mililita {0}"));
    put(Unit.PINT, unitPattern("painti {0}"));
    put(Unit.PINT_METRIC, unitPattern("mpt {0}"));
    put(Unit.QUART, unitPattern("kwati {0}"));
    put(Unit.TABLESPOON, unitPattern("vijiko {0} vikubwa"));
    put(Unit.TEASPOON, unitPattern("vijiko {0} vidogo"));
  }};

  protected static final Map> UNITS_SHORT_ONE = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("G {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("m {0}/s²"));
    put(Unit.ARC_MINUTE, unitPattern("dakika {0}"));
    put(Unit.ARC_SECOND, unitPattern("sekunde {0}"));
    put(Unit.DEGREE, unitPattern("digrii {0}"));
    put(Unit.RADIAN, unitPattern("radiani {0}"));
    put(Unit.REVOLUTION, unitPattern("mzunguko {0}"));
    put(Unit.ACRE, unitPattern("ekari {0}"));
    put(Unit.HECTARE, unitPattern("hekta {0}"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("cm² {0}"));
    put(Unit.SQUARE_FOOT, unitPattern("ft² {0}"));
    put(Unit.SQUARE_INCH, unitPattern("in² {0}"));
    put(Unit.SQUARE_KILOMETER, unitPattern("km² {0}"));
    put(Unit.SQUARE_METER, unitPattern("mita {0} ya mraba"));
    put(Unit.SQUARE_MILE, unitPattern("maili {0} ya mraba"));
    put(Unit.SQUARE_YARD, unitPattern("yadi {0} ya mraba"));
    put(Unit.KARAT, unitPattern("karati {0}"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("mmol {0}/lita"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("lita {0} kwa kilomita 100"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("lita {0} kwa kilomita"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("biti {0}"));
    put(Unit.BYTE, unitPattern("baiti {0}"));
    put(Unit.GIGABIT, unitPattern("gigabiti {0}"));
    put(Unit.GIGABYTE, unitPattern("GB {0}"));
    put(Unit.KILOBIT, unitPattern("kilobiti {0}"));
    put(Unit.KILOBYTE, unitPattern("kilobaiti {0}"));
    put(Unit.MEGABIT, unitPattern("megabiti {0}"));
    put(Unit.MEGABYTE, unitPattern("MB {0}"));
    put(Unit.TERABIT, unitPattern("terabiti {0}"));
    put(Unit.TERABYTE, unitPattern("terabaiti {0}"));
    put(Unit.CENTURY, unitPattern("karne ya {0}"));
    put(Unit.DAY, unitPattern("siku {0}"));
    put(Unit.HOUR, unitPattern("saa {0}"));
    put(Unit.MICROSECOND, unitPattern("mikrosekunde {0}"));
    put(Unit.MILLISECOND, unitPattern("millisekunde {0}"));
    put(Unit.MINUTE, unitPattern("dakika {0}"));
    put(Unit.MONTH, unitPattern("mwezi {0}"));
    put(Unit.NANOSECOND, unitPattern("nanosekunde {0}"));
    put(Unit.SECOND, unitPattern("sekunde {0}"));
    put(Unit.WEEK, unitPattern("wiki {0}"));
    put(Unit.YEAR, unitPattern("mwaka {0}"));
    put(Unit.AMPERE, unitPattern("ampea {0}"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("volti {0}"));
    put(Unit.CALORIE, unitPattern("kalori {0}"));
    put(Unit.FOODCALORIE, unitPattern("kalori {0}"));
    put(Unit.JOULE, unitPattern("jouli {0}"));
    put(Unit.KILOCALORIE, unitPattern("kilokalori {0}"));
    put(Unit.KILOJOULE, unitPattern("kilojuli {0}"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("gigahezi {0}"));
    put(Unit.HERTZ, unitPattern("hezi {0}"));
    put(Unit.KILOHERTZ, unitPattern("kilohezi {0}"));
    put(Unit.MEGAHERTZ, unitPattern("megahezi {0}"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("au {0}"));
    put(Unit.CENTIMETER, unitPattern("sentimita {0}"));
    put(Unit.DECIMETER, unitPattern("desimita {0}"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("futi {0}"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("inchi {0}"));
    put(Unit.KILOMETER, unitPattern("km {0}"));
    put(Unit.LIGHT_YEAR, unitPattern("ly {0}"));
    put(Unit.METER, unitPattern("mita {0}"));
    put(Unit.MICROMETER, unitPattern("mikromita {0}"));
    put(Unit.MILE, unitPattern("maili {0}"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} smi"));
    put(Unit.MILLIMETER, unitPattern("milimita {0}"));
    put(Unit.NANOMETER, unitPattern("nanomita {0}"));
    put(Unit.NAUTICAL_MILE, unitPattern("maili {0} ya kibaharia"));
    put(Unit.PARSEC, unitPattern("{0} pc"));
    put(Unit.PICOMETER, unitPattern("pikomita {0}"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("yadi {0}"));
    put(Unit.LUX, unitPattern("lx {0}"));
    put(Unit.CARAT, unitPattern("karati {0}"));
    put(Unit.GRAM, unitPattern("gramu {0}"));
    put(Unit.KILOGRAM, unitPattern("kg {0}"));
    put(Unit.METRIC_TON, unitPattern("tani mita {0}"));
    put(Unit.MICROGRAM, unitPattern("mikrogramu {0}"));
    put(Unit.MILLIGRAM, unitPattern("mg {0}"));
    put(Unit.OUNCE, unitPattern("aunsi {0}"));
    put(Unit.OUNCE_TROY, unitPattern("tola aunsi {0}"));
    put(Unit.POUND, unitPattern("ratili {0}"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("tani {0}"));
    put(Unit.GIGAWATT, unitPattern("gigawati {0}"));
    put(Unit.HORSEPOWER, unitPattern("{0} hp"));
    put(Unit.KILOWATT, unitPattern("kilowati {0}"));
    put(Unit.MEGAWATT, unitPattern("megawati {0}"));
    put(Unit.MILLIWATT, unitPattern("miliwati {0}"));
    put(Unit.WATT, unitPattern("wati {0}"));
    put(Unit.HECTOPASCAL, unitPattern("hPa {0}"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("mbar {0}"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("milimita {0} ya zebaki"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("psi {0}"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("km {0}/saa"));
    put(Unit.KNOT, unitPattern("noti {0}"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} mph"));
    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("ekari futi {0}"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("sentilita {0}"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("cm³ {0}"));
    put(Unit.CUBIC_FOOT, unitPattern("ft³ {0}"));
    put(Unit.CUBIC_INCH, unitPattern("in³ {0}"));
    put(Unit.CUBIC_KILOMETER, unitPattern("km³ {0}"));
    put(Unit.CUBIC_METER, unitPattern("m³ {0}"));
    put(Unit.CUBIC_MILE, unitPattern("mi³ {0}"));
    put(Unit.CUBIC_YARD, unitPattern("yd³ {0}"));
    put(Unit.CUP, unitPattern("kikombe {0}"));
    put(Unit.CUP_METRIC, unitPattern("mc {0}"));
    put(Unit.DECILITER, unitPattern("desilita {0}"));
    put(Unit.FLUID_OUNCE, unitPattern("fl oz {0}"));
    put(Unit.GALLON, unitPattern("galoni {0}"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal Imp."));
    put(Unit.HECTOLITER, unitPattern("hektolita {0}"));
    put(Unit.LITER, unitPattern("lita {0}"));
    put(Unit.MEGALITER, unitPattern("megalita {0}"));
    put(Unit.MILLILITER, unitPattern("mililita {0}"));
    put(Unit.PINT, unitPattern("painti {0}"));
    put(Unit.PINT_METRIC, unitPattern("mpt {0}"));
    put(Unit.QUART, unitPattern("kwati {0}"));
    put(Unit.TABLESPOON, unitPattern("kijiko {0} kikubwa"));
    put(Unit.TEASPOON, unitPattern("kijiko {0} kidogo"));
  }};

  protected static final Map> UNITS_SHORT_OTHER = new EnumMap>(Unit.class) {{
    put(Unit.G_FORCE, unitPattern("G {0}"));
    put(Unit.METER_PER_SECOND_SQUARED, unitPattern("m {0}/s²"));
    put(Unit.ARC_MINUTE, unitPattern("dakika {0}"));
    put(Unit.ARC_SECOND, unitPattern("sekunde {0}"));
    put(Unit.DEGREE, unitPattern("digrii {0}"));
    put(Unit.RADIAN, unitPattern("radiani {0}"));
    put(Unit.REVOLUTION, unitPattern("mizunguko {0}"));
    put(Unit.ACRE, unitPattern("ekari {0}"));
    put(Unit.HECTARE, unitPattern("hekta {0}"));
    put(Unit.SQUARE_CENTIMETER, unitPattern("cm² {0}"));
    put(Unit.SQUARE_FOOT, unitPattern("ft² {0}"));
    put(Unit.SQUARE_INCH, unitPattern("in² {0}"));
    put(Unit.SQUARE_KILOMETER, unitPattern("km² {0}"));
    put(Unit.SQUARE_METER, unitPattern("m² {0}"));
    put(Unit.SQUARE_MILE, unitPattern("maili {0} za mraba"));
    put(Unit.SQUARE_YARD, unitPattern("yadi {0} za mraba"));
    put(Unit.KARAT, unitPattern("karati {0}"));
    put(Unit.MILLIGRAM_PER_DECILITER, unitPattern("{0} mg/dL"));
    put(Unit.MILLIMOLE_PER_LITER, unitPattern("mmol {0}/L"));
    put(Unit.PART_PER_MILLION, unitPattern("{0} ppm"));
    put(Unit.LITER_PER_100KILOMETERS, unitPattern("lita {0}/km100"));
    put(Unit.LITER_PER_KILOMETER, unitPattern("lita {0} kwa kilomita"));
    put(Unit.MILE_PER_GALLON, unitPattern("{0} mpg"));
    put(Unit.MILE_PER_GALLON_IMPERIAL, unitPattern("{0} mpg Imp."));
    put(Unit.BIT, unitPattern("biti {0}"));
    put(Unit.BYTE, unitPattern("baiti {0}"));
    put(Unit.GIGABIT, unitPattern("gigabiti {0}"));
    put(Unit.GIGABYTE, unitPattern("GB {0}"));
    put(Unit.KILOBIT, unitPattern("kilobiti {0}"));
    put(Unit.KILOBYTE, unitPattern("kilobaiti {0}"));
    put(Unit.MEGABIT, unitPattern("megabiti {0}"));
    put(Unit.MEGABYTE, unitPattern("MB {0}"));
    put(Unit.TERABIT, unitPattern("terabiti {0}"));
    put(Unit.TERABYTE, unitPattern("terabaiti {0}"));
    put(Unit.CENTURY, unitPattern("karne za {0}"));
    put(Unit.DAY, unitPattern("siku {0}"));
    put(Unit.HOUR, unitPattern("saa {0}"));
    put(Unit.MICROSECOND, unitPattern("mikrosekunde {0}"));
    put(Unit.MILLISECOND, unitPattern("millisekunde {0}"));
    put(Unit.MINUTE, unitPattern("dakika {0}"));
    put(Unit.MONTH, unitPattern("miezi {0}"));
    put(Unit.NANOSECOND, unitPattern("nanosekunde {0}"));
    put(Unit.SECOND, unitPattern("sekunde {0}"));
    put(Unit.WEEK, unitPattern("wiki {0}"));
    put(Unit.YEAR, unitPattern("miaka {0}"));
    put(Unit.AMPERE, unitPattern("ampea {0}"));
    put(Unit.MILLIAMPERE, unitPattern("{0} mA"));
    put(Unit.OHM, unitPattern("{0} Ω"));
    put(Unit.VOLT, unitPattern("volti {0}"));
    put(Unit.CALORIE, unitPattern("kalori {0}"));
    put(Unit.FOODCALORIE, unitPattern("kalori {0}"));
    put(Unit.JOULE, unitPattern("jouli {0}"));
    put(Unit.KILOCALORIE, unitPattern("kilokalori {0}"));
    put(Unit.KILOJOULE, unitPattern("kilojuli {0}"));
    put(Unit.KILOWATT_HOUR, unitPattern("{0} kWh"));
    put(Unit.GIGAHERTZ, unitPattern("gigahezi {0}"));
    put(Unit.HERTZ, unitPattern("hezi {0}"));
    put(Unit.KILOHERTZ, unitPattern("kilohezi {0}"));
    put(Unit.MEGAHERTZ, unitPattern("megahezi {0}"));
    put(Unit.ASTRONOMICAL_UNIT, unitPattern("au {0}"));
    put(Unit.CENTIMETER, unitPattern("sentimita {0}"));
    put(Unit.DECIMETER, unitPattern("desimita {0}"));
    put(Unit.FATHOM, unitPattern("{0} fm"));
    put(Unit.FOOT, unitPattern("futi {0}"));
    put(Unit.FURLONG, unitPattern("{0} fur"));
    put(Unit.INCH, unitPattern("inchi {0}"));
    put(Unit.KILOMETER, unitPattern("km {0}"));
    put(Unit.LIGHT_YEAR, unitPattern("ly {0}"));
    put(Unit.METER, unitPattern("mita {0}"));
    put(Unit.MICROMETER, unitPattern("mikromita {0}"));
    put(Unit.MILE, unitPattern("maili {0}"));
    put(Unit.MILE_SCANDINAVIAN, unitPattern("{0} smi"));
    put(Unit.MILLIMETER, unitPattern("milimita {0}"));
    put(Unit.NANOMETER, unitPattern("nanomita {0}"));
    put(Unit.NAUTICAL_MILE, unitPattern("maili {0} za kibaharia"));
    put(Unit.PARSEC, unitPattern("{0} pc"));
    put(Unit.PICOMETER, unitPattern("pikomita {0}"));
    put(Unit.POINT, unitPattern("{0} pt"));
    put(Unit.YARD, unitPattern("yadi {0}"));
    put(Unit.LUX, unitPattern("lx {0}"));
    put(Unit.CARAT, unitPattern("karati {0}"));
    put(Unit.GRAM, unitPattern("gramu {0}"));
    put(Unit.KILOGRAM, unitPattern("kg {0}"));
    put(Unit.METRIC_TON, unitPattern("tani mita {0}"));
    put(Unit.MICROGRAM, unitPattern("mikrogramu {0}"));
    put(Unit.MILLIGRAM, unitPattern("mg {0}"));
    put(Unit.OUNCE, unitPattern("aunsi {0}"));
    put(Unit.OUNCE_TROY, unitPattern("tola aunsi {0}"));
    put(Unit.POUND, unitPattern("ratili {0}"));
    put(Unit.STONE, unitPattern("{0} st"));
    put(Unit.TON, unitPattern("tani {0}"));
    put(Unit.GIGAWATT, unitPattern("gigawati {0}"));
    put(Unit.HORSEPOWER, unitPattern("{0} hp"));
    put(Unit.KILOWATT, unitPattern("kilowati {0}"));
    put(Unit.MEGAWATT, unitPattern("megawati {0}"));
    put(Unit.MILLIWATT, unitPattern("miliwati {0}"));
    put(Unit.WATT, unitPattern("wati {0}"));
    put(Unit.HECTOPASCAL, unitPattern("hPa {0}"));
    put(Unit.INCH_HG, unitPattern("{0} inHg"));
    put(Unit.MILLIBAR, unitPattern("mbar {0}"));
    put(Unit.MILLIMETER_OF_MERCURY, unitPattern("milimita {0} za zebaki"));
    put(Unit.POUND_PER_SQUARE_INCH, unitPattern("psi {0}"));
    put(Unit.KILOMETER_PER_HOUR, unitPattern("km {0}/saa"));
    put(Unit.KNOT, unitPattern("noti {0}"));
    put(Unit.METER_PER_SECOND, unitPattern("{0} m/s"));
    put(Unit.MILE_PER_HOUR, unitPattern("{0} mph"));
    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("ekari futi {0}"));
    put(Unit.BUSHEL, unitPattern("{0} bu"));
    put(Unit.CENTILITER, unitPattern("sentilita {0}"));
    put(Unit.CUBIC_CENTIMETER, unitPattern("cm³ {0}"));
    put(Unit.CUBIC_FOOT, unitPattern("ft³ {0}"));
    put(Unit.CUBIC_INCH, unitPattern("in³ {0}"));
    put(Unit.CUBIC_KILOMETER, unitPattern("km³ {0}"));
    put(Unit.CUBIC_METER, unitPattern("mita {0} za ujazo"));
    put(Unit.CUBIC_MILE, unitPattern("mi³ {0}"));
    put(Unit.CUBIC_YARD, unitPattern("yd³ {0}"));
    put(Unit.CUP, unitPattern("vikombe {0}"));
    put(Unit.CUP_METRIC, unitPattern("vikombe {0} vya mizani"));
    put(Unit.DECILITER, unitPattern("desilita {0}"));
    put(Unit.FLUID_OUNCE, unitPattern("fl oz {0}"));
    put(Unit.GALLON, unitPattern("galoni {0}"));
    put(Unit.GALLON_IMPERIAL, unitPattern("{0} gal Imp."));
    put(Unit.HECTOLITER, unitPattern("hektolita {0}"));
    put(Unit.LITER, unitPattern("lita {0}"));
    put(Unit.MEGALITER, unitPattern("megalita {0}"));
    put(Unit.MILLILITER, unitPattern("mililita {0}"));
    put(Unit.PINT, unitPattern("painti {0}"));
    put(Unit.PINT_METRIC, unitPattern("mpt {0}"));
    put(Unit.QUART, unitPattern("kwati {0}"));
    put(Unit.TABLESPOON, unitPattern("vijiko {0} vikubwa"));
    put(Unit.TEASPOON, unitPattern("vijiko {0} vidogo"));
  }};

  public _NumberFormatter_sw() {
    super(
        CLDR.Locale.sw,
        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 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 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 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 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 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 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 "A$";
      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 "JP¥";
      case KES: return "Ksh";
      case KRW: return "₩";
      case MXN: return "MX$";
      case NZD: return "NZ$";
      case THB: return "฿";
      case TWD: return "NT$";
      case TZS: return "TSh";
      case USD: return "US$";
      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 KES: return "Ksh";
      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 TZS: return "TSh";
      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 "Dirham ya Falme za Kiarabu";
      case AFN: return "Afghani ya Afghanistan";
      case ALL: return "Lek ya Albania";
      case AMD: return "Dram ya Armenia";
      case ANG: return "Guilder ya Antili za Kiholanzi";
      case AOA: return "Kwanza ya Angola";
      case ARS: return "Peso ya Ajentina";
      case AUD: return "Dola ya Australia";
      case AWG: return "Florin ya Aruba";
      case AZN: return "Manat ya Azebaijani";
      case BAM: return "Mark Inayoweza Kubadilishwa ya Bosnia na Hezegovina";
      case BBD: return "Dola ya Barbados";
      case BDT: return "Taka ya Bangladeshi";
      case BGN: return "Lev ya Bulgaria";
      case BHD: return "Dinar ya Bahareni";
      case BIF: return "Faranga ya Burundi";
      case BMD: return "Dola ya Bermuda";
      case BND: return "Dola ya Brunei";
      case BOB: return "Boliviano ya Bolivia";
      case BRL: return "Real ya Brazil";
      case BSD: return "Dola ya Bahamas";
      case BTN: return "Ngultrum ya Bhutan";
      case BWP: return "Pula ya Botswana";
      case BYN: return "Ruble ya Belarusi";
      case BYR: return "Ruble ya Belarusi (2000–2016)";
      case BZD: return "Dola ya Belize";
      case CAD: return "Dola ya Kanada";
      case CDF: return "Faranga ya Kongo";
      case CHF: return "Faranga ya Uswisi";
      case CLP: return "Peso ya Chile";
      case CNY: return "Yuan ya Uchina";
      case COP: return "Peso ya Kolombia";
      case CRC: return "Colon ya Kostarika";
      case CUC: return "Peso ya Cuba Inayoweza Kubadilishwa";
      case CUP: return "Peso ya Cuba";
      case CVE: return "Eskudo ya Cape Verde";
      case CZK: return "Koruna ya Jamhuri ya Cheki";
      case DJF: return "Faranga ya Jibuti";
      case DKK: return "Krone ya Denmaki";
      case DOP: return "Peso ya Dominika";
      case DZD: return "Dinari ya Aljeria";
      case EGP: return "Pauni ya Misri";
      case ERN: return "Nakfa ya Eritrea";
      case ETB: return "Birr ya Uhabeshi";
      case EUR: return "Yuro";
      case FJD: return "Dola ya Fiji";
      case FKP: return "Pauni ya Visiwa vya Falkland";
      case GBP: return "Pauni ya Uingereza";
      case GEL: return "Lari ya Georgia";
      case GHC: return "Sedi ya Ghana";
      case GHS: return "Cedi ya Ghana";
      case GIP: return "Pauni ya Gibraltar";
      case GMD: return "Dalasi ya Gambia";
      case GNF: return "Faranga ya Guinea";
      case GNS: return "Faranga ya Gine";
      case GTQ: return "Quetzal ya Guatemala";
      case GYD: return "Dola ya Guyana";
      case HKD: return "Dola ya Hong Kong";
      case HNL: return "Lempira ya Hondurasi";
      case HRK: return "Kuna ya Kroeshia";
      case HTG: return "Gourde ya Haiti";
      case HUF: return "Forint ya Hungaria";
      case IDR: return "Rupiah ya Indonesia";
      case ILS: return "Shekeli Mpya ya Israel";
      case INR: return "Rupia ya India";
      case IQD: return "Dinar ya Iraki";
      case IRR: return "Rial ya Iran";
      case ISK: return "Krona ya Aisilandi";
      case JMD: return "Dola ya Jamaica";
      case JOD: return "Dinar ya Yordani";
      case JPY: return "Yen ya Japani";
      case KES: return "Shilingi ya Kenya";
      case KGS: return "Som ya Kyrgystani";
      case KHR: return "Riel ya Kambodia";
      case KMF: return "Faranga ya Komoro";
      case KPW: return "Won ya Korea Kaskazini";
      case KRW: return "Won ya Korea Kusini";
      case KWD: return "Dinar ya Kuwaiti";
      case KYD: return "Dola ya Visiwa vya Cayman";
      case KZT: return "Tenge ya Kazakistani";
      case LAK: return "Kip ya Laosi";
      case LBP: return "Pauni ya Lebanon";
      case LKR: return "Rupia ya Sri Lanka";
      case LRD: return "Dola ya Liberia";
      case LSL: return "Loti ya Lesoto";
      case LTL: return "Litas ya Lithuania";
      case LVL: return "Lats ya Lativia";
      case LYD: return "Dinari ya Libya";
      case MAD: return "Dirham ya Moroko";
      case MDL: return "Leu ya Moldova";
      case MGA: return "Ariari ya Madagaska";
      case MKD: return "Denar ya Masedonia";
      case MMK: return "Kyat ya Myama";
      case MNT: return "Tugrik ya Mongolia";
      case MOP: return "Pataca ya Macau";
      case MRO: return "Ouguiya ya Moritania";
      case MUR: return "Rupia ya Morisi";
      case MVR: return "Rufiyaa ya Maldivi";
      case MWK: return "Kwacha ya Malawi";
      case MXN: return "Peso ya Meksiko";
      case MYR: return "Ringgit ya Malaysia";
      case MZM: return "Metikali ya Msumbiji (1980–2006)";
      case MZN: return "Metikali ya Msumbiji";
      case NAD: return "Dola ya Namibia";
      case NGN: return "Naira ya Nijeria";
      case NIO: return "Cordoba ya Nikaragua";
      case NOK: return "Krone ya Norwe";
      case NPR: return "Rupia ya Nepali";
      case NZD: return "Dola ya Nyuzilandi";
      case OMR: return "Rial ya Omani";
      case PAB: return "Balboa ya Panama";
      case PEN: return "Sol ya Peru";
      case PGK: return "Kina ya Papua New Guinea";
      case PHP: return "Peso ya Ufilipino";
      case PKR: return "Rupia ya Pakistani";
      case PLN: return "Zloty ya Polandi";
      case PYG: return "Guarani ya Paragwai";
      case QAR: return "Rial ya Qatari";
      case RON: return "Leu ya Romania";
      case RSD: return "Dinar ya Serbia";
      case RUB: return "Ruble ya Urusi";
      case RWF: return "Faranga ya Rwanda";
      case SAR: return "Riyal ya Saudia";
      case SBD: return "Dola ya Visiwa vya Solomon";
      case SCR: return "Rupia ya Ushelisheli";
      case SDG: return "Pauni ya Sudani";
      case SDP: return "Pauni ya Sudani (1957–1998)";
      case SEK: return "Krona ya Uswidi";
      case SGD: return "Dola ya Singapore";
      case SHP: return "Pauni ya Santahelena";
      case SLL: return "Leone";
      case SOS: return "Shilingi ya Somalia";
      case SRD: return "Dola ya Suriname";
      case SSP: return "Pauni ya Sudani Kusini";
      case STD: return "Dobra ya Sao Tome na Principe";
      case SYP: return "Pauni ya Syria";
      case SZL: return "Lilangeni";
      case THB: return "Baht ya Tailandi";
      case TJS: return "Somoni ya Tajikistani";
      case TMT: return "Manat ya Turukimenistani";
      case TND: return "Dinari ya Tunisia";
      case TOP: return "Paʻanga ya Tonga";
      case TRY: return "Lira ya Uturuki";
      case TTD: return "Dola ya Trinidad na Tobago";
      case TWD: return "Dola ya Taiwan";
      case TZS: return "Shilingi ya Tanzania";
      case UAH: return "Hryvnia ya Ukrania";
      case UGX: return "Shilingi ya Uganda";
      case USD: return "Dola ya Marekani";
      case UYU: return "Peso ya Urugwai";
      case UZS: return "Som ya Uzibekistani";
      case VEF: return "Bolivar ya Venezuela";
      case VND: return "Dong ya Vietnam";
      case VUV: return "Vatu ya Vanuatu";
      case WST: return "Tala ya Samoa";
      case XAF: return "Faranga ya Afrika ya Kati CFA";
      case XCD: return "Dola ya Karibea ya Mashariki";
      case XOF: return "Faranga ya Afrika Magharibi CFA";
      case XPF: return "Faranga ya CFP";
      case XXX: return "Sarafu isiyojulikana";
      case YER: return "Rial ya Yemeni";
      case ZAR: return "Randi ya Afrika Kusini";
      case ZMK: return "Kwacha ya Zambia (1968–2012)";
      case ZMW: return "Kwacha ya Zambia";
      case ZWD: return "Dola ya Zimbabwe";
      default: return code.name();
    }
  }

  protected String getCurrencyPluralName(CLDR.Currency code, PluralCategory category) {
    switch (code) {
      case AED: {
        switch (category) {
          case ONE: return "dirham ya Falme za Kiarabu";
          case OTHER:
              default: return "dirham za Falme za Kiarabu";
        }
      }
      case AFN: {
        switch (category) {
          case ONE: return "Afghani ya Afghanistan";
          case OTHER:
              default: return "Afghani za Afghanistan";
        }
      }
      case ALL: {
        switch (category) {
          case ONE: return "Lek ya Albania";
          case OTHER:
              default: return "Lek za Albania";
        }
      }
      case AMD: {
        switch (category) {
          case ONE: return "Dram ya Armenia";
          case OTHER:
              default: return "Dram za Armenia";
        }
      }
      case ANG: {
        switch (category) {
          case ONE: return "Guilder ya Antili za Kiholanzi";
          case OTHER:
              default: return "Guilder ya Antili za Kiholanzi";
        }
      }
      case AOA: {
        switch (category) {
          case ONE: return "kwanza ya Angola";
          case OTHER:
              default: return "kwanza za Angola";
        }
      }
      case ARS: {
        switch (category) {
          case ONE: return "Peso ya Ajentina";
          case OTHER:
              default: return "Peso za Ajentina";
        }
      }
      case AUD: {
        switch (category) {
          case ONE: return "dola ya Australia";
          case OTHER:
              default: return "dola za Australia";
        }
      }
      case AWG: {
        switch (category) {
          case ONE: return "Florin ya Aruba";
          case OTHER:
              default: return "Florin za Aruba";
        }
      }
      case AZN: {
        switch (category) {
          case ONE: return "Manat ya Azebaijani";
          case OTHER:
              default: return "Manat za Azebaijani";
        }
      }
      case BAM: {
        switch (category) {
          case ONE: return "Convertible Mark ya Bosnia na Hezegovina";
          case OTHER:
              default: return "Mark Inayoweza Kubadilishwa ya Bosnia na Hezegovina";
        }
      }
      case BBD: {
        switch (category) {
          case ONE: return "Dola ya Barbados";
          case OTHER:
              default: return "Dola za Barbados";
        }
      }
      case BDT: {
        switch (category) {
          case ONE: return "Taka ya Bangladeshi";
          case OTHER:
              default: return "Taka za Bangladeshi";
        }
      }
      case BGN: {
        switch (category) {
          case ONE: return "Lev ya Bulgaria";
          case OTHER:
              default: return "Lev za Bulgaria";
        }
      }
      case BHD: {
        switch (category) {
          case ONE: return "Dinar ya Bahareni";
          case OTHER:
              default: return "Dinar za Bahareni";
        }
      }
      case BIF: {
        switch (category) {
          case ONE: return "faranga ya Burundi";
          case OTHER:
              default: return "faranga za Burundi";
        }
      }
      case BMD: {
        switch (category) {
          case ONE: return "Dola ya Bermuda";
          case OTHER:
              default: return "Dola za Bermuda";
        }
      }
      case BND: {
        switch (category) {
          case ONE: return "Dola ya Brunei";
          case OTHER:
              default: return "Dola za Brunei";
        }
      }
      case BOB: {
        switch (category) {
          case ONE: return "Boliviano ya Bolivia";
          case OTHER:
              default: return "Boliviano za Bolivia";
        }
      }
      case BRL: {
        switch (category) {
          case ONE: return "Real ya Brazil";
          case OTHER:
              default: return "Real za Brazil";
        }
      }
      case BSD: {
        switch (category) {
          case ONE: return "Dola ya Bahamas";
          case OTHER:
              default: return "Dola za Bahamas";
        }
      }
      case BTN: {
        switch (category) {
          case ONE: return "Ngultrum ya Bhutan";
          case OTHER:
              default: return "Ngultrum za Bhutan";
        }
      }
      case BWP: {
        switch (category) {
          case ONE: return "pula ya Botswana";
          case OTHER:
              default: return "pula za Botswana";
        }
      }
      case BYN: {
        switch (category) {
          case ONE: return "Ruble ya Belarusi";
          case OTHER:
              default: return "Ruble za Belarusi";
        }
      }
      case BYR: {
        switch (category) {
          case ONE: return "Ruble ya Belarusi (2000–2016)";
          case OTHER:
              default: return "Ruble za Belarusi (2000–2016)";
        }
      }
      case BZD: {
        switch (category) {
          case ONE: return "Dola ya Belize";
          case OTHER:
              default: return "Dola za Belize";
        }
      }
      case CAD: {
        switch (category) {
          case ONE: return "dola ya Kanada";
          case OTHER:
              default: return "dola za Kanada";
        }
      }
      case CDF: {
        switch (category) {
          case ONE: return "faranga ya Kongo";
          case OTHER:
              default: return "faranga za Kongo";
        }
      }
      case CHF: {
        switch (category) {
          case ONE: return "faranga ya Uswisi";
          case OTHER:
              default: return "faranga za Uswisi";
        }
      }
      case CLP: {
        switch (category) {
          case ONE: return "Peso ya Chile";
          case OTHER:
              default: return "Peso za Chile";
        }
      }
      case CNY: {
        switch (category) {
          case ONE: return "yuan ya Uchina";
          case OTHER:
              default: return "yuan za Uchina";
        }
      }
      case COP: {
        switch (category) {
          case ONE: return "Peso ya Kolombia";
          case OTHER:
              default: return "Peso za Kolombia";
        }
      }
      case CRC: {
        switch (category) {
          case ONE: return "Colon ya Kostarika";
          case OTHER:
              default: return "Colon za Kostarika";
        }
      }
      case CUC: {
        switch (category) {
          case ONE: return "Peso ya Cuba Inayoweza Kubadilishwa";
          case OTHER:
              default: return "Peso za Cuba Zinazoweza Kubadilishwa";
        }
      }
      case CUP: {
        switch (category) {
          case ONE: return "Peso ya Cuba";
          case OTHER:
              default: return "Peso za Cuba";
        }
      }
      case CVE: {
        switch (category) {
          case ONE: return "Eskudo ya Cape Verde";
          case OTHER:
              default: return "Eskudo za Cape Verde";
        }
      }
      case CZK: {
        switch (category) {
          case ONE: return "Koruna ya Jamhuri ya Cheki";
          case OTHER:
              default: return "Koruna za Jamhuri ya Cheki";
        }
      }
      case DJF: {
        switch (category) {
          case ONE: return "faranga ya Jibuti";
          case OTHER:
              default: return "faranga za Jibuti";
        }
      }
      case DKK: {
        switch (category) {
          case ONE: return "Krone ya Denmaki";
          case OTHER:
              default: return "Krone za Denmaki";
        }
      }
      case DOP: {
        switch (category) {
          case ONE: return "Peso ya Dominika";
          case OTHER:
              default: return "Peso za Dominika";
        }
      }
      case DZD: {
        switch (category) {
          case ONE: return "dinari ya Aljeria";
          case OTHER:
              default: return "dinari za Aljeria";
        }
      }
      case EGP: {
        switch (category) {
          case ONE: return "pauni ya Misri";
          case OTHER:
              default: return "pauni za Misri";
        }
      }
      case ERN: {
        switch (category) {
          case ONE: return "nakfa ya Eritrea";
          case OTHER:
              default: return "nakfa za Eritrea";
        }
      }
      case ETB: {
        switch (category) {
          case ONE: return "birr ya Uhabeshi";
          case OTHER:
              default: return "birr za Uhabeshi";
        }
      }
      case EUR: {
        switch (category) {
          case ONE: return "yuro";
          case OTHER:
              default: return "yuro";
        }
      }
      case FJD: {
        switch (category) {
          case ONE: return "Dola ya Fiji";
          case OTHER:
              default: return "Dola za Fiji";
        }
      }
      case FKP: {
        switch (category) {
          case ONE: return "Pauni ya Visiwa vya Falkland";
          case OTHER:
              default: return "Pauni za Visiwa vya Falkland";
        }
      }
      case GBP: {
        switch (category) {
          case ONE: return "pauni ya Uingereza";
          case OTHER:
              default: return "pauni za Uingereza";
        }
      }
      case GEL: {
        switch (category) {
          case ONE: return "Lari ya Georgia";
          case OTHER:
              default: return "Lari za Georgia";
        }
      }
      case GHS: {
        switch (category) {
          case ONE: return "Cedi ya Ghana";
          case OTHER:
              default: return "Cedi za Ghana";
        }
      }
      case GIP: {
        switch (category) {
          case ONE: return "Pauni ya Gibraltar";
          case OTHER:
              default: return "Pauni za Gibraltar";
        }
      }
      case GMD: {
        switch (category) {
          case ONE: return "dalasi ya Gambia";
          case OTHER:
              default: return "dalasi za Gambia";
        }
      }
      case GNF: {
        switch (category) {
          case ONE: return "faranga ya Guinea";
          case OTHER:
              default: return "faranga za Guinea";
        }
      }
      case GTQ: {
        switch (category) {
          case ONE: return "Quetzal ya Guatemala";
          case OTHER:
              default: return "Quetzal za Guatemala";
        }
      }
      case GYD: {
        switch (category) {
          case ONE: return "Dola ya Guyana";
          case OTHER:
              default: return "Dola za Guyana";
        }
      }
      case HKD: {
        switch (category) {
          case ONE: return "Dola ya Hong Kong";
          case OTHER:
              default: return "Dola za Hong Kong";
        }
      }
      case HNL: {
        switch (category) {
          case ONE: return "Lempira ya Hondurasi";
          case OTHER:
              default: return "Lempira za Hondurasi";
        }
      }
      case HRK: {
        switch (category) {
          case ONE: return "Kuna ya Kroeshia";
          case OTHER:
              default: return "Kuna za Kroeshia";
        }
      }
      case HTG: {
        switch (category) {
          case ONE: return "Gourde ya Haiti";
          case OTHER:
              default: return "Gourde za Haiti";
        }
      }
      case HUF: {
        switch (category) {
          case ONE: return "Forint ya Hungaria";
          case OTHER:
              default: return "Forint za Hungaria";
        }
      }
      case IDR: {
        switch (category) {
          case ONE: return "Rupiah ya Indonesia";
          case OTHER:
              default: return "Rupiah za Indonesia";
        }
      }
      case ILS: {
        switch (category) {
          case ONE: return "Shekeli Mpya ya Israel";
          case OTHER:
              default: return "Shekeli Mpya za Israel";
        }
      }
      case INR: {
        switch (category) {
          case ONE: return "rupia ya India";
          case OTHER:
              default: return "rupia za India";
        }
      }
      case IQD: {
        switch (category) {
          case ONE: return "Dinar ya Iraki";
          case OTHER:
              default: return "Dinar za Iraki";
        }
      }
      case IRR: {
        switch (category) {
          case ONE: return "Rial ya Iran";
          case OTHER:
              default: return "Rial za Iran";
        }
      }
      case ISK: {
        switch (category) {
          case ONE: return "Krona ya Aisilandi";
          case OTHER:
              default: return "Krona za Aisilandi";
        }
      }
      case JMD: {
        switch (category) {
          case ONE: return "Dola ya Jamaica";
          case OTHER:
              default: return "Dola za Jamaica";
        }
      }
      case JOD: {
        switch (category) {
          case ONE: return "Dinar ya Yordani";
          case OTHER:
              default: return "Dinar za Yordani";
        }
      }
      case JPY: {
        switch (category) {
          case ONE: return "Yen ya Japani";
          case OTHER:
              default: return "Yen za Japani";
        }
      }
      case KES: {
        switch (category) {
          case ONE: return "shilingi ya Kenya";
          case OTHER:
              default: return "shilingi za Kenya";
        }
      }
      case KGS: {
        switch (category) {
          case ONE: return "Som ya Kyrgystani";
          case OTHER:
              default: return "Som za Kyrgystani";
        }
      }
      case KHR: {
        switch (category) {
          case ONE: return "Riel ya Kambodia";
          case OTHER:
              default: return "Riel za Kambodia";
        }
      }
      case KMF: {
        switch (category) {
          case ONE: return "faranga ya Komoro";
          case OTHER:
              default: return "faranga za Komoro";
        }
      }
      case KPW: {
        switch (category) {
          case ONE: return "Won ya Korea Kaskazini";
          case OTHER:
              default: return "Won za Korea Kaskazini";
        }
      }
      case KRW: {
        switch (category) {
          case ONE: return "Won ya Korea Kusini";
          case OTHER:
              default: return "Won za Korea Kusini";
        }
      }
      case KWD: {
        switch (category) {
          case ONE: return "Dinar ya Kuwaiti";
          case OTHER:
              default: return "Dinar za Kuwaiti";
        }
      }
      case KYD: {
        switch (category) {
          case ONE: return "Dola ya Visiwa vya Cayman";
          case OTHER:
              default: return "Dola ya Visiwa vya Cayman";
        }
      }
      case KZT: {
        switch (category) {
          case ONE: return "Tenge ya Kazakistani";
          case OTHER:
              default: return "Tenge za Kazakistani";
        }
      }
      case LAK: {
        switch (category) {
          case ONE: return "Kip ya Laosi";
          case OTHER:
              default: return "Kip za Laosi";
        }
      }
      case LBP: {
        switch (category) {
          case ONE: return "Pauni ya Lebanon";
          case OTHER:
              default: return "Pauni za Lebanon";
        }
      }
      case LKR: {
        switch (category) {
          case ONE: return "Rupia ya Sri Lanka";
          case OTHER:
              default: return "Rupia za Sri Lanka";
        }
      }
      case LRD: {
        switch (category) {
          case ONE: return "dola ya Liberia";
          case OTHER:
              default: return "dola za Liberia";
        }
      }
      case LTL: {
        switch (category) {
          case ONE: return "Litas ya Lithuania";
          case OTHER:
              default: return "Litas za Lithuania";
        }
      }
      case LVL: {
        switch (category) {
          case ONE: return "Lats ya Lativia";
          case OTHER:
              default: return "Lats za Lativia";
        }
      }
      case LYD: {
        switch (category) {
          case ONE: return "dinari ya Libya";
          case OTHER:
              default: return "dinari za Libya";
        }
      }
      case MAD: {
        switch (category) {
          case ONE: return "dirham ya Moroko";
          case OTHER:
              default: return "dirham za Moroko";
        }
      }
      case MDL: {
        switch (category) {
          case ONE: return "Leu ya Moldova";
          case OTHER:
              default: return "Leu za Moldova";
        }
      }
      case MGA: {
        switch (category) {
          case ONE: return "Ariari ya Madagaska";
          case OTHER:
              default: return "Ariari za Madagaska";
        }
      }
      case MKD: {
        switch (category) {
          case ONE: return "Denar ya Masedonia";
          case OTHER:
              default: return "Denar za Masedonia";
        }
      }
      case MMK: {
        switch (category) {
          case ONE: return "Kyat ya Myama";
          case OTHER:
              default: return "Kyat za Myama";
        }
      }
      case MNT: {
        switch (category) {
          case ONE: return "Tugrik ya Mongolia";
          case OTHER:
              default: return "Tugrik za Mongolia";
        }
      }
      case MOP: {
        switch (category) {
          case ONE: return "Pataca ya Macau";
          case OTHER:
              default: return "Pataca za Macau";
        }
      }
      case MRO: {
        switch (category) {
          case ONE: return "Ouguiya ya Moritania";
          case OTHER:
              default: return "Ouguiya za Moritania";
        }
      }
      case MUR: {
        switch (category) {
          case ONE: return "rupia ya Morisi";
          case OTHER:
              default: return "rupia za Morisi";
        }
      }
      case MVR: {
        switch (category) {
          case ONE: return "Rufiyaa ya Maldivi";
          case OTHER:
              default: return "Rufiyaa za Maldivi";
        }
      }
      case MWK: {
        switch (category) {
          case ONE: return "kwacha ya Malawi";
          case OTHER:
              default: return "kwacha za Malawi";
        }
      }
      case MXN: {
        switch (category) {
          case ONE: return "Peso ya Meksiko";
          case OTHER:
              default: return "Peso za Meksiko";
        }
      }
      case MYR: {
        switch (category) {
          case ONE: return "Ringgit ya Malaysia";
          case OTHER:
              default: return "Ringgit za Malaysia";
        }
      }
      case MZM: {
        switch (category) {
          case ONE: return "metikali ya Msumbiji (1980–2006)";
          case OTHER:
              default: return "metikali ya Msumbiji (1980–2006)";
        }
      }
      case MZN: {
        switch (category) {
          case ONE: return "Metikali ya Msumbiji";
          case OTHER:
              default: return "Metikali za Msumbiji";
        }
      }
      case NAD: {
        switch (category) {
          case ONE: return "dola ya Namibia";
          case OTHER:
              default: return "dola za Namibia";
        }
      }
      case NGN: {
        switch (category) {
          case ONE: return "naira ya Nijeria";
          case OTHER:
              default: return "naira za Nijeria";
        }
      }
      case NIO: {
        switch (category) {
          case ONE: return "Cordoba ya Nikaragua";
          case OTHER:
              default: return "Cordoba za Nikaragua";
        }
      }
      case NOK: {
        switch (category) {
          case ONE: return "Krone ya Norwe";
          case OTHER:
              default: return "Krone za Norwe";
        }
      }
      case NPR: {
        switch (category) {
          case ONE: return "Rupia ya Nepali";
          case OTHER:
              default: return "Rupia za Nepali";
        }
      }
      case NZD: {
        switch (category) {
          case ONE: return "Dola ya Nyuzilandi";
          case OTHER:
              default: return "Dola za Nyuzilandi";
        }
      }
      case OMR: {
        switch (category) {
          case ONE: return "Rial ya Omani";
          case OTHER:
              default: return "Rial za Omani";
        }
      }
      case PAB: {
        switch (category) {
          case ONE: return "Balboa ya Panama";
          case OTHER:
              default: return "Balboa za Panama";
        }
      }
      case PEN: {
        switch (category) {
          case ONE: return "Sol ya Peru";
          case OTHER:
              default: return "Sol za Peru";
        }
      }
      case PGK: {
        switch (category) {
          case ONE: return "Kina ya Papua New Guinea";
          case OTHER:
              default: return "Kina za Papua New Guinea";
        }
      }
      case PHP: {
        switch (category) {
          case ONE: return "Peso ya Ufilipino";
          case OTHER:
              default: return "Peso za Ufilipino";
        }
      }
      case PKR: {
        switch (category) {
          case ONE: return "Rupia ya Pakistani";
          case OTHER:
              default: return "Rupia za Pakistani";
        }
      }
      case PLN: {
        switch (category) {
          case ONE: return "Zloty ya Polandi";
          case OTHER:
              default: return "Zloty za Polandi";
        }
      }
      case PYG: {
        switch (category) {
          case ONE: return "Guarani ya Paragwai";
          case OTHER:
              default: return "Guarani za Paragwai";
        }
      }
      case QAR: {
        switch (category) {
          case ONE: return "Rial ya Qatari";
          case OTHER:
              default: return "Rial za Qatari";
        }
      }
      case RON: {
        switch (category) {
          case ONE: return "Leu ya Romania";
          case OTHER:
              default: return "Leu za Romania";
        }
      }
      case RSD: {
        switch (category) {
          case ONE: return "Dinar ya Serbia";
          case OTHER:
              default: return "Dinar za Serbia";
        }
      }
      case RUB: {
        switch (category) {
          case ONE: return "Ruble ya Urusi";
          case OTHER:
              default: return "Ruble za Urusi";
        }
      }
      case RWF: {
        switch (category) {
          case ONE: return "faranga ya Rwanda";
          case OTHER:
              default: return "faranga za Rwanda";
        }
      }
      case SAR: {
        switch (category) {
          case ONE: return "riyal ya Saudia";
          case OTHER:
              default: return "riyal za Saudia";
        }
      }
      case SBD: {
        switch (category) {
          case ONE: return "Dola ya Visiwa vya Solomon";
          case OTHER:
              default: return "Dola za Visiwa vya Solomon";
        }
      }
      case SCR: {
        switch (category) {
          case ONE: return "rupia ya Ushelisheli";
          case OTHER:
              default: return "rupia za Ushelisheli";
        }
      }
      case SDG: {
        switch (category) {
          case ONE: return "pauni ya Sudani";
          case OTHER:
              default: return "pauni za Sudani";
        }
      }
      case SDP: {
        switch (category) {
          case ONE: return "pauni ya Sudani (1957–1998)";
          case OTHER:
              default: return "pauni za Sudani (1957–1998)";
        }
      }
      case SEK: {
        switch (category) {
          case ONE: return "Krona ya Uswidi";
          case OTHER:
              default: return "Krona za Uswidi";
        }
      }
      case SGD: {
        switch (category) {
          case ONE: return "Dola ya Singapore";
          case OTHER:
              default: return "Dola za Singapore";
        }
      }
      case SHP: {
        switch (category) {
          case ONE: return "pauni ya Santahelena";
          case OTHER:
              default: return "pauni za Santahelena";
        }
      }
      case SLL: {
        switch (category) {
          case ONE: return "Leone";
          case OTHER:
              default: return "Leone";
        }
      }
      case SOS: {
        switch (category) {
          case ONE: return "shilingi ya Somalia";
          case OTHER:
              default: return "shilingi za Somalia";
        }
      }
      case SRD: {
        switch (category) {
          case ONE: return "Dola ya Suriname";
          case OTHER:
              default: return "Dola za Suriname";
        }
      }
      case SSP: {
        switch (category) {
          case ONE: return "pauni ya Sudani Kusini";
          case OTHER:
              default: return "pauni za Sudani Kusini";
        }
      }
      case STD: {
        switch (category) {
          case ONE: return "dobra ya Sao Tome na Principe";
          case OTHER:
              default: return "dobra za Sao Tome na Principe";
        }
      }
      case SYP: {
        switch (category) {
          case ONE: return "Pauni ya Syria";
          case OTHER:
              default: return "Pauni za Syria";
        }
      }
      case SZL: {
        switch (category) {
          case ONE: return "lilangeni";
          case OTHER:
              default: return "lilangeni";
        }
      }
      case THB: {
        switch (category) {
          case ONE: return "Baht ya Tailandi";
          case OTHER:
              default: return "Baht za Tailandi";
        }
      }
      case TJS: {
        switch (category) {
          case ONE: return "Somoni ya Tajikistani";
          case OTHER:
              default: return "Somoni za Tajikistani";
        }
      }
      case TMT: {
        switch (category) {
          case ONE: return "Manat ya Turukimenistani";
          case OTHER:
              default: return "Manat za Turukimenistani";
        }
      }
      case TND: {
        switch (category) {
          case ONE: return "dinari ya Tunisia";
          case OTHER:
              default: return "dinari za Tunisia";
        }
      }
      case TOP: {
        switch (category) {
          case ONE: return "Paʻanga ya Tonga";
          case OTHER:
              default: return "Paʻanga za Tonga";
        }
      }
      case TRY: {
        switch (category) {
          case ONE: return "Lira ya Uturuki";
          case OTHER:
              default: return "Lira za Uturuki";
        }
      }
      case TTD: {
        switch (category) {
          case ONE: return "Dola ya Trinidad na Tobago";
          case OTHER:
              default: return "Dola za Trinidad na Tobago";
        }
      }
      case TWD: {
        switch (category) {
          case ONE: return "Dola ya Taiwan";
          case OTHER:
              default: return "Dola za Taiwan";
        }
      }
      case TZS: {
        switch (category) {
          case ONE: return "shilingi ya Tanzania";
          case OTHER:
              default: return "shilingi za Tanzania";
        }
      }
      case UAH: {
        switch (category) {
          case ONE: return "Hryvnia ya Ukrania";
          case OTHER:
              default: return "Hryvnia za Ukrania";
        }
      }
      case UGX: {
        switch (category) {
          case ONE: return "shilingi ya Uganda";
          case OTHER:
              default: return "shilingi za Uganda";
        }
      }
      case USD: {
        switch (category) {
          case ONE: return "dola ya Marekani";
          case OTHER:
              default: return "dola za Marekani";
        }
      }
      case UYU: {
        switch (category) {
          case ONE: return "Peso ya Urugwai";
          case OTHER:
              default: return "Peso za Urugwai";
        }
      }
      case UZS: {
        switch (category) {
          case ONE: return "Som ya Uzibekistani";
          case OTHER:
              default: return "Som za Uzibekistani";
        }
      }
      case VEF: {
        switch (category) {
          case ONE: return "Bolivar ya Venezuela";
          case OTHER:
              default: return "Bolivar za Venezuela";
        }
      }
      case VND: {
        switch (category) {
          case ONE: return "Dong ya Vietnam";
          case OTHER:
              default: return "Dong za Vietnam";
        }
      }
      case VUV: {
        switch (category) {
          case ONE: return "Vatu ya Vanuatu";
          case OTHER:
              default: return "Vatu za Vanuatu";
        }
      }
      case WST: {
        switch (category) {
          case ONE: return "Tala ya Samoa";
          case OTHER:
              default: return "Tala za Samoa";
        }
      }
      case XAF: {
        switch (category) {
          case ONE: return "faranga ya Afrika ya Kati CFA";
          case OTHER:
              default: return "faranga za Afrika ya Kati CFA";
        }
      }
      case XCD: {
        switch (category) {
          case ONE: return "Dola ya Karibea ya Mashariki";
          case OTHER:
              default: return "Dola za Karibea ya Mashariki";
        }
      }
      case XOF: {
        switch (category) {
          case ONE: return "faranga ya Afrika Magharibi CFA";
          case OTHER:
              default: return "faranga za Afrika Magharibi CFA";
        }
      }
      case XPF: {
        switch (category) {
          case ONE: return "Faranga ya CFP";
          case OTHER:
              default: return "Faranga za CFP";
        }
      }
      case XXX: {
        switch (category) {
          case ONE: return "(sarafu isiyojulikana)";
          case OTHER:
              default: return "(sarafu isiyojulikana)";
        }
      }
      case YER: {
        switch (category) {
          case ONE: return "Rial ya Yemeni";
          case OTHER:
              default: return "Rial za Yemeni";
        }
      }
      case ZAR: {
        switch (category) {
          case ONE: return "randi ya Afrika Kusini";
          case OTHER:
              default: return "randi za Afrika Kusini";
        }
      }
      case ZMW: {
        switch (category) {
          case ONE: return "kwacha ya Zambia";
          case OTHER:
              default: return "kwacha za Zambia";
        }
      }
      default: return "";
    }
  }

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

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

  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 = "NaN";
      this.currencyDecimal = ".";
      this.currencyGroup = ",";
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy