---
source: https://cli.eloqnt.dev/docs/lint-rules/inconsistent-args
docs_index: https://cli.eloqnt.dev/llms.txt
---

# inconsistent-args

Flags a translation whose ICU features don't match the source message.

## Why this is bad

Placeholders are the contract between your code and a message. A translation that drops one may needlessly generalize the sentence, and one that invents a placeholder will throw at runtime.

## Examples

Given the source message `"You have {count, number} new messages"`.

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

```json title="messages/es.json"
{
  "messages": "Tienes mensajes nuevos"
}
```

```json title="messages/es.json"
{
  "messages": "Tienes {contar, número} mensajes nuevos"
}
```

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

```json title="messages/es.json"
{
  "messages": "Tienes {count, number} mensajes nuevos"
}
```

---

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