@lingui/format-po-gettext
Version:
Gettext PO formatter for Lingui message catalogs using gettext-style plural rules
3,089 lines (3,087 loc) • 64.9 kB
JavaScript
import { parse } from '@messageformat/parser';
import PO from 'pofile';
import { generateMessageId } from '@lingui/message-utils/generateMessageId';
import { formatter as formatter$1 } from '@lingui/format-po';
const af = {
name: "Afrikaans",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ak = {
name: "Akan",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const am = {
name: "Amharic",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const an = {
name: "Aragonese",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ar = {
name: "Arabic",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",
plurals: 6,
cases: [
"zero",
"one",
"two",
"few",
"many",
"other"
],
examples: {
zero: "0",
one: "1",
two: "2",
few: "3~10, 103~110, 1003, …",
many: "11~26, 111, 1011, …",
other: "100~102, 200~202, 300~302, 400~402, 500~502, 600, 1000, 10000, 100000, 1000000, …"
}
};
const ars = {
name: "Najdi Arabic",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n % 100 >= 3 && n % 100 <= 10) ? 3 : ((n % 100 >= 11 && n % 100 <= 99) ? 4 : 5))))",
plurals: 6,
cases: [
"zero",
"one",
"two",
"few",
"many",
"other"
],
examples: {
zero: "0",
one: "1",
two: "2",
few: "3~10, 103~110, 1003, …",
many: "11~26, 111, 1011, …",
other: "100~102, 200~202, 300~302, 400~402, 500~502, 600, 1000, 10000, 100000, 1000000, …"
}
};
const as = {
name: "Assamese",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const asa = {
name: "Asu",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ast = {
name: "Asturian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const az = {
name: "Azerbaijani",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bal = {
name: "Baluchi",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const be = {
name: "Belarusian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bem = {
name: "Bemba",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bez = {
name: "Bena",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bg = {
name: "Bulgarian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bho = {
name: "Bhojpuri",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const blo = {
name: "Anii",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : 2)",
plurals: 3,
cases: [
"zero",
"one",
"other"
],
examples: {
zero: "0",
one: "1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bm = {
name: "Bambara",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bn = {
name: "Bangla",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bo = {
name: "Tibetan",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const br = {
name: "Breton",
formula: "(n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) ? 0 : ((n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) ? 1 : ((((n % 10 == 3 || n % 10 == 4) || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) ? 2 : ((n != 0 && n % 1000000 == 0) ? 3 : 4)))",
plurals: 5,
cases: [
"one",
"two",
"few",
"many",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 81, 101, 1001, …",
two: "2, 22, 32, 42, 52, 62, 82, 102, 1002, …",
few: "3, 4, 9, 23, 24, 29, 33, 34, 39, 43, 44, 49, 103, 1003, …",
many: "1000000, …",
other: "0, 5~8, 10~20, 100, 1000, 10000, 100000, …"
}
};
const brx = {
name: "Bodo",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const bs = {
name: "Bosnian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ca = {
name: "Catalan",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const ce = {
name: "Chechen",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ceb = {
name: "Cebuano",
formula: "n != 1 && n != 2 && n != 3 && (n % 10 == 4 || n % 10 == 6 || n % 10 == 9)",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0~3, 5, 7, 8, 10~13, 15, 17, 18, 20, 21, 100, 1000, 10000, 100000, 1000000, …",
other: "4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, …"
}
};
const cgg = {
name: "Chiga",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const chr = {
name: "Cherokee",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ckb = {
name: "Central Kurdish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const cs = {
name: "Czech",
formula: "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1",
few: "2~4",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const csw = {
name: "Swampy Cree",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const cy = {
name: "Welsh",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : ((n == 2) ? 2 : ((n == 3) ? 3 : ((n == 6) ? 4 : 5))))",
plurals: 6,
cases: [
"zero",
"one",
"two",
"few",
"many",
"other"
],
examples: {
zero: "0",
one: "1",
two: "2",
few: "3",
many: "6",
other: "4, 5, 7~20, 100, 1000, 10000, 100000, 1000000, …"
}
};
const da = {
name: "Danish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const de = {
name: "German",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const doi = {
name: "Dogri",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const dsb = {
name: "Lower Sorbian",
formula: "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",
plurals: 4,
cases: [
"one",
"two",
"few",
"other"
],
examples: {
one: "1, 101, 201, 301, 401, 501, 601, 701, 1001, …",
two: "2, 102, 202, 302, 402, 502, 602, 702, 1002, …",
few: "3, 4, 103, 104, 203, 204, 303, 304, 403, 404, 503, 504, 603, 604, 703, 704, 1003, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const dv = {
name: "Divehi",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const dz = {
name: "Dzongkha",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ee = {
name: "Ewe",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const el = {
name: "Greek",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const en = {
name: "English",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const eo = {
name: "Esperanto",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const es = {
name: "Spanish",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const et = {
name: "Estonian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const eu = {
name: "Basque",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const fa = {
name: "Persian",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ff = {
name: "Fula",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const fi = {
name: "Finnish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const fil = {
name: "Filipino",
formula: "n != 1 && n != 2 && n != 3 && (n % 10 == 4 || n % 10 == 6 || n % 10 == 9)",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0~3, 5, 7, 8, 10~13, 15, 17, 18, 20, 21, 100, 1000, 10000, 100000, 1000000, …",
other: "4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, …"
}
};
const fo = {
name: "Faroese",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const fr = {
name: "French",
formula: "(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "0, 1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "2~17, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const fur = {
name: "Friulian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const fy = {
name: "Western Frisian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ga = {
name: "Irish",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : ((n >= 3 && n <= 6) ? 2 : ((n >= 7 && n <= 10) ? 3 : 4)))",
plurals: 5,
cases: [
"one",
"two",
"few",
"many",
"other"
],
examples: {
one: "1",
two: "2",
few: "3~6",
many: "7~10",
other: "0, 11~25, 100, 1000, 10000, 100000, 1000000, …"
}
};
const gd = {
name: "Scottish Gaelic",
formula: "(n == 1 || n == 11) ? 0 : ((n == 2 || n == 12) ? 1 : ((n >= 3 && n <= 10 || n >= 13 && n <= 19) ? 2 : 3))",
plurals: 4,
cases: [
"one",
"two",
"few",
"other"
],
examples: {
one: "1, 11",
two: "2, 12",
few: "3~10, 13~19",
other: "0, 20~34, 100, 1000, 10000, 100000, 1000000, …"
}
};
const gl = {
name: "Galician",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const gsw = {
name: "Swiss German",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const gu = {
name: "Gujarati",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const guw = {
name: "Gun",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const gv = {
name: "Manx",
formula: "(n % 10 == 1) ? 0 : ((n % 10 == 2) ? 1 : ((n % 100 == 0 || n % 100 == 20 || n % 100 == 40 || n % 100 == 60 || n % 100 == 80) ? 2 : 3))",
plurals: 4,
cases: [
"one",
"two",
"few",
"other"
],
examples: {
one: "1, 11, 21, 31, 41, 51, 61, 71, 101, 1001, …",
two: "2, 12, 22, 32, 42, 52, 62, 72, 102, 1002, …",
few: "0, 20, 40, 60, 80, 100, 120, 140, 1000, 10000, 100000, 1000000, …",
other: "3~10, 13~19, 23, 103, 1003, …"
}
};
const ha = {
name: "Hausa",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const haw = {
name: "Hawaiian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const he = {
name: "Hebrew",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const hi = {
name: "Hindi",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const hnj = {
name: "Hmong Njua",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const hr = {
name: "Croatian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const hsb = {
name: "Upper Sorbian",
formula: "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",
plurals: 4,
cases: [
"one",
"two",
"few",
"other"
],
examples: {
one: "1, 101, 201, 301, 401, 501, 601, 701, 1001, …",
two: "2, 102, 202, 302, 402, 502, 602, 702, 1002, …",
few: "3, 4, 103, 104, 203, 204, 303, 304, 403, 404, 503, 504, 603, 604, 703, 704, 1003, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const hu = {
name: "Hungarian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const hy = {
name: "Armenian",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ia = {
name: "Interlingua",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const id = {
name: "Indonesian",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ig = {
name: "Igbo",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ii = {
name: "Sichuan Yi",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const io = {
name: "Ido",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const is = {
name: "Icelandic",
formula: "n % 10 != 1 || n % 100 == 11",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const it = {
name: "Italian",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const iu = {
name: "Inuktitut",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ja = {
name: "Japanese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const jbo = {
name: "Lojban",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const jgo = {
name: "Ngomba",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const jmc = {
name: "Machame",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const jv = {
name: "Javanese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ka = {
name: "Georgian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kab = {
name: "Kabyle",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kaj = {
name: "Jju",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kcg = {
name: "Tyap",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kde = {
name: "Makonde",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kea = {
name: "Kabuverdianu",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kk = {
name: "Kazakh",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kkj = {
name: "Kako",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kl = {
name: "Kalaallisut",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const km = {
name: "Khmer",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kn = {
name: "Kannada",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ko = {
name: "Korean",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ks = {
name: "Kashmiri",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ksb = {
name: "Shambala",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ksh = {
name: "Colognian",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : 2)",
plurals: 3,
cases: [
"zero",
"one",
"other"
],
examples: {
zero: "0",
one: "1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ku = {
name: "Kurdish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const kw = {
name: "Cornish",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : (((n % 100 == 2 || n % 100 == 22 || n % 100 == 42 || n % 100 == 62 || n % 100 == 82) || n % 1000 == 0 && (n % 100000 >= 1000 && n % 100000 <= 20000 || n % 100000 == 40000 || n % 100000 == 60000 || n % 100000 == 80000) || n != 0 && n % 1000000 == 100000) ? 2 : ((n % 100 == 3 || n % 100 == 23 || n % 100 == 43 || n % 100 == 63 || n % 100 == 83) ? 3 : ((n != 1 && (n % 100 == 1 || n % 100 == 21 || n % 100 == 41 || n % 100 == 61 || n % 100 == 81)) ? 4 : 5))))",
plurals: 6,
cases: [
"zero",
"one",
"two",
"few",
"many",
"other"
],
examples: {
zero: "0",
one: "1",
two: "2, 22, 42, 62, 82, 102, 122, 142, 1000, 10000, 100000, …",
few: "3, 23, 43, 63, 83, 103, 123, 143, 1003, …",
many: "21, 41, 61, 81, 101, 121, 141, 161, 1001, …",
other: "4~19, 100, 1004, 1000000, …"
}
};
const ky = {
name: "Kyrgyz",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lag = {
name: "Langi",
formula: "(n == 0) ? 0 : ((n == 1) ? 1 : 2)",
plurals: 3,
cases: [
"zero",
"one",
"other"
],
examples: {
zero: "0",
one: "1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lb = {
name: "Luxembourgish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lg = {
name: "Ganda",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lij = {
name: "Ligurian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lkt = {
name: "Lakota",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lld = {
name: "Dolomitic Ladin",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const ln = {
name: "Lingala",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lo = {
name: "Lao",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lt = {
name: "Lithuanian",
formula: "(n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~9, 22~29, 102, 1002, …",
other: "0, 10~20, 30, 40, 50, 60, 100, 1000, 10000, 100000, 1000000, …"
}
};
const lv = {
name: "Latvian",
formula: "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",
plurals: 3,
cases: [
"zero",
"one",
"other"
],
examples: {
zero: "0, 10~20, 30, 40, 50, 60, 100, 1000, 10000, 100000, 1000000, …",
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
other: "2~9, 22~29, 102, 1002, …"
}
};
const mas = {
name: "Masai",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const mg = {
name: "Malagasy",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const mgo = {
name: "Metaʼ",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const mk = {
name: "Macedonian",
formula: "n % 10 != 1 || n % 100 == 11",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ml = {
name: "Malayalam",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const mn = {
name: "Mongolian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const mr = {
name: "Marathi",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ms = {
name: "Malay",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const mt = {
name: "Maltese",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : ((n == 0 || n % 100 >= 3 && n % 100 <= 10) ? 2 : ((n % 100 >= 11 && n % 100 <= 19) ? 3 : 4)))",
plurals: 5,
cases: [
"one",
"two",
"few",
"many",
"other"
],
examples: {
one: "1",
two: "2",
few: "0, 3~10, 103~109, 1003, …",
many: "11~19, 111~117, 1011, …",
other: "20~35, 100, 1000, 10000, 100000, 1000000, …"
}
};
const my = {
name: "Burmese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nah = {
name: "Nahuatl",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const naq = {
name: "Nama",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nb = {
name: "Norwegian Bokmål",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nd = {
name: "North Ndebele",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ne = {
name: "Nepali",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nl = {
name: "Dutch",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nn = {
name: "Norwegian Nynorsk",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nnh = {
name: "Ngiemboon",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const no = {
name: "Norwegian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nqo = {
name: "N’Ko",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nr = {
name: "South Ndebele",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nso = {
name: "Northern Sotho",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ny = {
name: "Nyanja",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const nyn = {
name: "Nyankole",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const om = {
name: "Oromo",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const or = {
name: "Odia",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const os = {
name: "Ossetic",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const osa = {
name: "Osage",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const pa = {
name: "Punjabi",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const pap = {
name: "Papiamento",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const pcm = {
name: "Nigerian Pidgin",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const pl = {
name: "Polish",
formula: "(n == 1) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const prg = {
name: "Prussian",
formula: "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",
plurals: 3,
cases: [
"zero",
"one",
"other"
],
examples: {
zero: "0, 10~20, 30, 40, 50, 60, 100, 1000, 10000, 100000, 1000000, …",
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
other: "2~9, 22~29, 102, 1002, …"
}
};
const ps = {
name: "Pashto",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const pt = {
name: "Portuguese",
formula: "(n == 0 || n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "0, 1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "2~17, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const pt_PT = {
name: "European Portuguese",
territory: "Portugal",
baseLanguage: "Portuguese",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const rm = {
name: "Romansh",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ro = {
name: "Romanian",
formula: "(n == 1) ? 0 : ((n == 0 || n != 1 && n % 100 >= 1 && n % 100 <= 19) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1",
few: "0, 2~16, 101, 1001, …",
other: "20~35, 100, 1000, 10000, 100000, 1000000, …"
}
};
const rof = {
name: "Rombo",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ru = {
name: "Russian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const rwk = {
name: "Rwa",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sah = {
name: "Yakut",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const saq = {
name: "Samburu",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sat = {
name: "Santali",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sc = {
name: "Sardinian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const scn = {
name: "Sicilian",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const sd = {
name: "Sindhi",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sdh = {
name: "Southern Kurdish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const se = {
name: "Northern Sami",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const seh = {
name: "Sena",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ses = {
name: "Koyraboro Senni",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sg = {
name: "Sango",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sh = {
name: "Serbo-Croatian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const shi = {
name: "Tachelhit",
formula: "(n == 0 || n == 1) ? 0 : ((n >= 2 && n <= 10) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "0, 1",
few: "2~10",
other: "11~26, 100, 1000, 10000, 100000, 1000000, …"
}
};
const si = {
name: "Sinhala",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sk = {
name: "Slovak",
formula: "(n == 1) ? 0 : ((n >= 2 && n <= 4) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1",
few: "2~4",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sl = {
name: "Slovenian",
formula: "(n % 100 == 1) ? 0 : ((n % 100 == 2) ? 1 : ((n % 100 == 3 || n % 100 == 4) ? 2 : 3))",
plurals: 4,
cases: [
"one",
"two",
"few",
"other"
],
examples: {
one: "1, 101, 201, 301, 401, 501, 601, 701, 1001, …",
two: "2, 102, 202, 302, 402, 502, 602, 702, 1002, …",
few: "3, 4, 103, 104, 203, 204, 303, 304, 403, 404, 503, 504, 603, 604, 703, 704, 1003, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sma = {
name: "Southern Sami",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const smi = {
name: "Sami",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const smj = {
name: "Lule Sami",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const smn = {
name: "Inari Sami",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sms = {
name: "Skolt Sami",
formula: "(n == 1) ? 0 : ((n == 2) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"two",
"other"
],
examples: {
one: "1",
two: "2",
other: "0, 3~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sn = {
name: "Shona",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const so = {
name: "Somali",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sq = {
name: "Albanian",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sr = {
name: "Serbian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ss = {
name: "Swati",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ssy = {
name: "Saho",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const st = {
name: "Southern Sotho",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const su = {
name: "Sundanese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sv = {
name: "Swedish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const sw = {
name: "Swahili",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const syr = {
name: "Syriac",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ta = {
name: "Tamil",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const te = {
name: "Telugu",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const teo = {
name: "Teso",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const th = {
name: "Thai",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ti = {
name: "Tigrinya",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const tig = {
name: "Tigre",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const tk = {
name: "Turkmen",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const tl = {
name: "Tagalog",
formula: "n != 1 && n != 2 && n != 3 && (n % 10 == 4 || n % 10 == 6 || n % 10 == 9)",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0~3, 5, 7, 8, 10~13, 15, 17, 18, 20, 21, 100, 1000, 10000, 100000, 1000000, …",
other: "4, 6, 9, 14, 16, 19, 24, 26, 104, 1004, …"
}
};
const tn = {
name: "Tswana",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const to = {
name: "Tongan",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const tpi = {
name: "Tok Pisin",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const tr = {
name: "Turkish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ts = {
name: "Tsonga",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const tzm = {
name: "Central Atlas Tamazight",
formula: "n >= 2 && (n < 11 || n > 99)",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1, 11~24",
other: "2~10, 100~106, 1000, 10000, 100000, 1000000, …"
}
};
const ug = {
name: "Uyghur",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const uk = {
name: "Ukrainian",
formula: "(n % 10 == 1 && n % 100 != 11) ? 0 : ((n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14)) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"few",
"other"
],
examples: {
one: "1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …",
few: "2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …",
other: "0, 5~19, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ur = {
name: "Urdu",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const uz = {
name: "Uzbek",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const ve = {
name: "Venda",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const vec = {
name: "Venetian",
formula: "(n == 1) ? 0 : ((n != 0 && n % 1000000 == 0) ? 1 : 2)",
plurals: 3,
cases: [
"one",
"many",
"other"
],
examples: {
one: "1",
many: "1000000, 1c6, 2c6, 3c6, 4c6, 5c6, 6c6, …",
other: "0, 2~16, 100, 1000, 10000, 100000, 1c3, 2c3, 3c3, 4c3, 5c3, 6c3, …"
}
};
const vi = {
name: "Vietnamese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const vo = {
name: "Volapük",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const vun = {
name: "Vunjo",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const wa = {
name: "Walloon",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const wae = {
name: "Walser",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const wo = {
name: "Wolof",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const xh = {
name: "Xhosa",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const xog = {
name: "Soga",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const yi = {
name: "Yiddish",
formula: "n != 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "1",
other: "0, 2~16, 100, 1000, 10000, 100000, 1000000, …"
}
};
const yo = {
name: "Yoruba",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const yue = {
name: "Cantonese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const zh = {
name: "Chinese",
formula: "0",
plurals: 1,
cases: [
"other"
],
examples: {
other: "0~15, 100, 1000, 10000, 100000, 1000000, …"
}
};
const zu = {
name: "Zulu",
formula: "n > 1",
plurals: 2,
cases: [
"one",
"other"
],
examples: {
one: "0, 1",
other: "2~17, 100, 1000, 10000, 100000, 1000000, …"
}
};
const gettextPlurals = {
af: af,
ak: ak,
am: am,
an: an,
ar: ar,
ars: ars,
as: as,
asa: asa,
ast: ast,
az: az,
bal: bal,
be: be,
bem: bem,
bez: bez,
bg: bg,
bho: bho,
blo: blo,
bm: bm,
bn: bn,
bo: bo,
br: br,
brx: brx,
bs: bs,
ca: ca,
ce: ce,
ceb: ceb,
cgg: cgg,
chr: chr,
ckb: ckb,
cs: cs,
csw: csw,
cy: cy,
da: da,
de: de,
doi: doi,
dsb: dsb,
dv: dv,
dz: dz,
ee: ee,
el: el,
en: en,
eo: eo,
es: es,
et: et,
eu: eu,
fa: fa,
ff: ff,
fi: fi,
fil: fil,
fo: fo,
fr: fr,
fur: fur,
fy: fy,
ga: ga,
gd: gd,
gl: gl,
gsw: gsw,
gu: gu,
guw: guw,
gv: gv,
ha: ha,
haw: haw,
he: he,
hi: hi,
hnj: hnj,
hr: hr,
hsb: hsb,
hu: hu,
hy: hy,
ia: ia,
id: id,
ig: ig,
ii: ii,
io: io,
is: is,
it: it,
iu: iu,
ja: ja,
jbo: jbo,
jgo: jgo,
jmc: jmc,
jv: jv,
ka: ka,
kab: kab,
kaj: kaj,
kcg: kcg,
kde: kde,
kea: kea,
kk: kk,
kkj: kkj,
kl: kl,
km: km,
kn: kn,
ko: ko,
ks: ks,
ksb: ksb,
ksh: ksh,
ku: ku,
kw: kw,
ky: ky,
lag: lag,
lb: lb,
lg: lg,
lij: lij,
lkt: lkt,
lld: lld,
ln: ln,
lo: lo,
lt: lt,
lv: lv,
mas: mas,
mg: mg,
mgo: mgo,
mk: mk,
ml: ml,
mn: mn,
mr: mr,
ms: ms,
mt: mt,
my: my,
nah: nah,
naq: naq,
nb: nb,
nd: nd,
ne: ne,
nl: nl,
nn: nn,
nnh: nnh,
no: no,
nqo: nqo,
nr: nr,
nso: nso,
ny: ny,
nyn: nyn,
om: om,
or: or,
os: os,
osa: osa,
pa: pa,
pap: pap,
pcm: pcm,
pl: pl,
prg: prg,
ps: ps,
pt: pt,
pt_PT: pt_PT,
rm: rm,
ro: ro,
rof: rof,
ru: ru,
rwk: rwk,
sah: sah,
saq: saq,
sat: sat,
sc: sc,
scn: scn,
sd: sd,
sdh: sdh,
se: se,
seh: seh,
ses: ses,
sg: sg,
sh: sh,
shi: shi,
si: si,
sk: sk,
sl: sl,
sma: sma,
smi: smi,
smj: smj,
smn: smn,
sms: sms,
sn: sn,
so: so,
sq: sq,
sr: sr,
ss: ss,
ssy: ssy,
st: st,
su: su,
sv: sv,
sw: sw,
syr: syr,
ta: ta,
te: te,
teo: teo,
th: th,
ti: ti,
tig: tig,
tk: tk,
tl: tl,
tn: tn,