{
  "locale": "en",
  "format": "icu-messageformat",
  "note": "In ICU MessageFormat, '#' inside a plural branch binds to the NEAREST enclosing plural argument, not the outermost one. Where an outer count must appear inside an inner plural, these messages use the explicit {name} form instead of '#'.",
  "messages": {
    "likes": "{count, plural, offset:1 =0 {No one likes this} =1 {{name} likes this} one {{name} and # other like this} other {{name} and # others like this}}",
    "attending": "{count, plural, offset:2 =0 {Nobody is attending} =1 {{host} is attending} =2 {{host} and {guest} are attending} one {{host}, {guest} and # other are attending} other {{host}, {guest} and # others are attending}}"
  },
  "cases": [
    {
      "message": "likes",
      "args": {
        "count": 0,
        "name": "Rana"
      },
      "expected": "No one likes this"
    },
    {
      "message": "likes",
      "args": {
        "count": 1,
        "name": "Rana"
      },
      "expected": "Rana likes this"
    },
    {
      "message": "likes",
      "args": {
        "count": 2,
        "name": "Rana"
      },
      "expected": "Rana and 1 other like this"
    },
    {
      "message": "likes",
      "args": {
        "count": 6,
        "name": "Rana"
      },
      "expected": "Rana and 5 others like this"
    },
    {
      "message": "attending",
      "args": {
        "count": 2,
        "host": "Rana",
        "guest": "Tomás"
      },
      "expected": "Rana and Tomás are attending"
    },
    {
      "message": "attending",
      "args": {
        "count": 3,
        "host": "Rana",
        "guest": "Tomás"
      },
      "expected": "Rana, Tomás and 1 other are attending"
    },
    {
      "message": "attending",
      "args": {
        "count": 40,
        "host": "Rana",
        "guest": "Tomás"
      },
      "expected": "Rana, Tomás and 38 others are attending"
    }
  ],
  "feature": "plural offset:n with explicit =0/=1/=2 selectors"
}
