---
source: https://cli.eloqnt.dev/docs/lint-rules/unreachable-plural-case
docs_index: https://cli.eloqnt.dev/llms.txt
---

# unreachable-plural-case

Flags a translation that carries a plural case its own locale never selects.

## Why this is bad

Each locale selects on its own set of CLDR categories, so a case outside that set is text no reader will ever see.

## Examples

Examples of **incorrect** code for this rule:

```json title="messages/ja.json"
{
  "messages": "{count, plural, one {新着メッセージが1件} other {新着メッセージが#件}}"
}
```

(Japanese has no `one` category)

Examples of **correct** code for this rule:

```json title="messages/ja.json"
{
  "messages": "{count, plural, other {新着メッセージが#件}}"
}
```

---

For an index of every eloqnt/cli documentation page, see [https://cli.eloqnt.dev/llms.txt](https://cli.eloqnt.dev/llms.txt).
