Samogitian sgs

Lokalized supports cardinality, cardinality range, and ordinality rules for Samogitian.

Cardinalities

  • CARDINALITY_ONE

    Matches n % 10 = 1 and n % 100 != 11

    Example Integers: 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …

    Example Decimals: 1.0, 21.0, 31.0, 41.0, 51.0, 61.0, 71.0, 81.0, 101.0, 1001.0, …

  • CARDINALITY_TWO

    Matches n = 2

    Example Integers: 2

    Example Decimals: 2.0, 2.00, 2.000, 2.0000

  • CARDINALITY_FEW

    Matches n != 2 and n % 10 = 2..9 and n % 100 != 11..19

    Example Integers: 3, 9, 22, 29, 32, 102, 1002, …

    Example Decimals: 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 22.0, 102.0, 1002.0, …

  • CARDINALITY_MANY

    Matches f != 0

    Example Decimals: 0.1, 0.9, 1.1, 1.7, 10.1, 100.1, 1000.1, …

  • CARDINALITY_OTHER

    Matches all other values

    Example Integers: 0, 10, 20, 30, 40, 50, 60, 100, 1000, 10000, 100000, 1000000, …

    Example Decimals: 0.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …

Cardinality Ranges

No explicit CLDR cardinality-range mapping is defined for this language. Cardinality.forRange(...) therefore falls back to the ending cardinality for every range.

Ordinalities

All ordinal numbers use ORDINALITY_OTHER; no value selects a different form.

Addendum: Language Form Rules

The language form expressions above are specified by Unicode Technical Standard #35 and use the following notation:

  • n absolute value of the source number (integer and decimals)
  • i integer digits of n
  • v number of visible fraction digits in n, with trailing zeros
  • w number of visible fraction digits in n, without trailing zeros
  • f visible fractional digits in n, with trailing zeros
  • t visible fractional digits in n, without trailing zeros
  • c/e compact decimal exponent operands used by some CLDR compact-number rules