---
title: "missing-translation"
description: "A source-locale key that target locales lack, or a plural form their language needs. One diagnostic per key, at the source entry."
canonical_url: "https://x18n.dev/checks/missing-translation"
---
# missing-translation

> A source-locale key that target locales lack, or a plural form their language needs. One diagnostic per key, at the source entry.

<!-- Generated by docs/scripts/generate.ts from the source code. Do not edit. -->

A source-locale key that target locales lack, or a plural form their language needs. One diagnostic per key, at the source entry.

The check is on by default, with the severity `warning`.

The check reports one diagnostic per key, at the entry in the source locale, and lists the locales that lack the key. An empty string is not missing: the `empty-translation` check reports it.

## Configure

Change the severity, or turn the check off, in `checks`:

```ts [x18n.config.ts]
import { defineConfig } from '@x18n/core'

export default defineConfig({
  checks: {
    'missing-translation': 'off',
  },
})
```

`x18n check --only missing-translation` runs this check alone. `x18n check --skip missing-translation` skips it for one run.

## Source

- [`packages/builtins/src/checks/index.ts`](https://github.com/x18n-dev/x18n/blob/main/packages/builtins/src/checks/index.ts)


## Sitemap

See the full [sitemap](https://x18n.dev/sitemap.md) for all pages.
