CLDR 48 · kw

Cornish plural rules

CLDR 48 gives Cornish (kw) six plural forms: zero, one, two, few, many and other. What decides each, which numbers fall where, and a String Catalog entry and an Android <plurals> block with every form, ready to paste.

  • zero
  • one
  • two
  • few
  • many
  • other

The rules

What decides each Cornish form.

  • zero

    The number is 0.

    Integers
    0
    Decimals
    0.0, 0.00, 0.000, 0.0000
    CLDR rule
    n = 0
  • one

    The number is 1.

    Integers
    1
    Decimals
    1.0, 1.00, 1.000, 1.0000
    CLDR rule
    n = 1
  • two

    The last two digits of the number are 2, 22, 42, 62 or 82.

    or

    The last three digits of the number are 0 and the number modulo 100,000 is 1,000 to 20,000, 40,000, 60,000 or 80,000.

    or

    The number is not 0 and the number modulo 1,000,000 is 100,000.

    Integers
    2, 22, 42, 62, 82, 102, 122, 142, 1000, 10000, 100000, …
    Decimals
    2.0, 22.0, 42.0, 62.0, 82.0, 102.0, 122.0, 142.0, 1000.0, 10000.0, 100000.0, …
    CLDR rule
    n % 100 = 2,22,42,62,82 or n % 1000 = 0 and n % 100000 = 1000..20000,40000,60000,80000 or n != 0 and n % 1000000 = 100000
  • few

    The last two digits of the number are 3, 23, 43, 63 or 83.

    Integers
    3, 23, 43, 63, 83, 103, 123, 143, 1003, …
    Decimals
    3.0, 23.0, 43.0, 63.0, 83.0, 103.0, 123.0, 143.0, 1003.0, …
    CLDR rule
    n % 100 = 3,23,43,63,83
  • many

    The number is not 1 and the last two digits of the number are 1, 21, 41, 61 or 81.

    Integers
    21, 41, 61, 81, 101, 121, 141, 161, 1001, …
    Decimals
    21.0, 41.0, 61.0, 81.0, 101.0, 121.0, 141.0, 161.0, 1001.0, …
    CLDR rule
    n != 1 and n % 100 = 1,21,41,61,81
  • other

    Every number the other forms do not take.

    Integers
    4–19, 100, 1004, 1000000, …
    Decimals
    0.1–0.9, 1.1–1.7, 10.0, 100.0, 1000.1, 1000000.0, …
    CLDR rule
    No condition: what is left

Reading the CLDR rule

n
the number itself, where 1.0 counts as 1
i
the integer part (1 for 1.50)
v
how many decimals are shown (2 for 1.50)
w
how many decimals are shown, without trailing zeros (1 for 1.50)
f
the shown decimals as a whole number (50 for 1.50)
t
the shown decimals without trailing zeros (5 for 1.50)
c, e
the compact exponent, for a number shown in a compact form such as 1M; CLDR writes 1M as 1c6 (6 for 1c6)

% is the remainder, .. a range of whole numbers, and and binds before or. From UTS #35: plural operand meanings.

Numbers

Which form a number takes.

Common counts under CLDR 48's Cornish rules, then any number you type.

  • 0zero
  • 1one
  • 2two
  • 3few
  • 4other
  • 5other
  • 7other
  • 11other
  • 12other
  • 21many
  • 22two
  • 25other
  • 100other
  • 101many
  • 1000000other
  • 0.5other
  • 1.0one
  • 1.5other

Decimals count as written: 1.0 and 1 can take different forms.

takes many

Ready to paste

A String Catalog entry and an Android block.

The English source and, for every other language, its own forms filled with English stand-ins in state new, which Xcode shows as still needing translation. Write each form as you would say it for that form's sample numbers.

Localizable.xcstrings
{
  "sourceLanguage" : "en",
  "strings" : {
    "%lld files" : {
      "localizations" : {
        "en" : {
          "variations" : {
            "plural" : {
              "one" : {
                "stringUnit" : {
                  "state" : "translated",
                  "value" : "%lld file"
                }
              },
              "other" : {
                "stringUnit" : {
                  "state" : "translated",
                  "value" : "%lld files"
                }
              }
            }
          }
        },
        "kw" : {
          "variations" : {
            "plural" : {
              "one" : {
                "stringUnit" : {
                  "state" : "new",
                  "value" : "%lld file"
                }
              },
              "two" : {
                "stringUnit" : {
                  "state" : "new",
                  "value" : "%lld files"
                }
              },
              "other" : {
                "stringUnit" : {
                  "state" : "new",
                  "value" : "%lld files"
                }
              }
            }
          }
        }
      }
    }
  },
  "version" : "1.0"
}
ContentView.swift
// SwiftUI: Xcode extracts the key "%lld files"
Text("\(count) files")
app/src/main/res/values-kw/strings.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <plurals name="files_count">
        <item quantity="zero">%d files</item>
        <item quantity="one">%d file</item>
        <item quantity="two">%d files</item>
        <item quantity="few">%d files</item>
        <item quantity="many">%d files</item>
        <item quantity="other">%d files</item>
    </plurals>
</resources>
Kotlin
// Compose
Text(pluralStringResource(R.plurals.files_count, count, count))

// Views
resources.getQuantityString(R.plurals.files_count, count, count)

Good to know

  • Cornish has a zero form, for 0. Android picks the item with the device's ICU plural rules, so under CLDR 48's rules a quantity="zero" item is used for these numbers; in English, Android's docs say a zero item is ignored even for 0.
  • Xcode 26.6 lists one, two and other for kw, so the String Catalog entry has those; CLDR 48 also has zero, few and many, which the Android block keeps.

In anylocale

How anylocale differs for Cornish.

anylocale gives Cornish one and other, not CLDR 48's zero, two, few and many. A zero, two, few or many form in a pushed file is not kept and an export has none, so Android falls back to other for the numbers that take zero, two, few or many.

iOS and Android

What the platforms do with these forms.

Apple: Xcode and Foundation

  • When you vary a string by plural, Xcode adds the forms the language needs. Apple's examples are One and Other for English, and One, Few, Many and Other for Russian. Localizing and varying text with a string catalog
  • Xcode picks the specifier from the interpolation: in Apple's example, the count in Text("\(collection.landmarks.count) items") becomes %lld, a 64-bit integer, with One %lld item and Other %lld items. Localizing and varying text with a string catalog
  • Only other is required. A form the language does not use is ignored in favour of other, and leaving out one it does use can make the text grammatically wrong. Localizing strings that contain plurals
  • Keep the number in the text: Apple advises the format specifier, or a spelled-out word, over a digit such as 1, which may not be localized correctly when the user changes regions. Localizing strings that contain plurals
  • English may carry an optional zero in a .stringsdict: Apple's example returns "No homes found" for 0. Localizing strings that contain plurals
  • A localization's identifier is a language code, optionally with a region or a script: sr for Serbian, sr-Latn for Serbian in the Latin script, and zh-Hans and zh-Hant for Chinese in the simplified and traditional scripts. Choosing localization regions and scripts

Android: resources and lint

  • Android has the same six quantities and picks one by grammatical necessity only: in English a zero item is ignored even for 0, and in Korean only other is ever used. String resources: quantity strings
  • The pick uses ICU's PluralRules for the configuration's first locale. When the chosen quantity has no item, Android falls back to other, and throws NotFoundException when other is missing too. ResourcesImpl.getQuantityText in AOSP
  • getQuantityString takes the quantity as an int, so on Android a decimal never selects a form. Resources.getQuantityString
  • Lint's MissingQuantity check is an error when a translation lacks a quantity its language needs. Google's example is Polish without many. Lint: MissingQuantity
  • Lint's UnusedQuantity check warns about quantities a language does not use: in Chinese only other is used, so zero and one are never returned, even for 0 or 1. Lint: UnusedQuantity
  • Lint's ImpliedQuantity check is an error when a one item has no number but one matches more than one number, as in Slovenian: 1, 101, 201 and so on. Lint: ImpliedQuantity
  • A region takes an r, as in values-pt-rBR. A script or a numeric region needs the BCP 47 form Android 7.0 (API 24) added, such as values-b+zh+Hant or values-b+es+419. App resources: language and region qualifiers
  • Android's qualifier parser also accepts a three-letter language in the plain form, so Filipino can be values-fil. LocaleValue::InitFromParts in AOSP

Each linked page was read on November 9, 2026.

Questions

How many plural forms does Cornish have?
Six in CLDR 48: zero, one, two, few, many and other.
Which plural form does 0 take in Cornish?
zero. In CLDR 48, Cornish zero takes 0.
Which plural form does 1.5 take in Cornish?
other. Decimals have rules of their own: in CLDR 48, Cornish other takes decimals such as 0.1–0.9, 1.1–1.7 and so on.
Which Android resource folder holds Cornish strings?
values-kw, so the plurals go in app/src/main/res/values-kw/strings.xml.
How do I add Cornish plurals to a String Catalog?
Vary the string by plural in Xcode: Apple's documentation says Xcode adds each language's plural forms when the language is added to the catalog. Or paste the entry on this page, which has the forms Xcode 26.6 lists for kw: one, two and other.

Plural rules and samples from Unicode CLDR 48, read from supplemental/plurals.json in the cldr-core 48.2.0 package. Unicode publishes the same data as the CLDR 48 plural rules chart. String Catalog forms come from the plural table in Xcode 26.6 (17F113), XCStringsParser.framework/Resources/variationConfigFile.plist, read on November 9, 2026.

Start with the file your app already ships.

After checkout, import one strings file and read the first drafts within minutes.

Nothing to connect and nothing to install. The CLI is optional.