---
title: "identical-to-source"
description: "A target value that equals the source value, except values that stay the same in every language."
canonical_url: "https://x18n.dev/checks/identical-to-source"
---
# identical-to-source

> A target value that equals the source value, except values that stay the same in every language.

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

A target value that equals the source value, except values that stay the same in every language.

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

A target value equal to the source value is often an untranslated copy. The check skips:

- locales of the source locale's language (`en-GB` and `en_US` against `en`),
- values with no letters once placeholders, nesting references and tags are removed (`{{count}}`, `100 %`, `<0/>`),
- URLs and e-mail addresses,
- short all-caps words of up to five letters (`OK`, `FAQ`),
- `doNotTranslate` terms of the `glossary`, such as brand names.

Words that are the same in both languages, such as "Plugins" in German, are still reported. That is why the check reports at `info`, which `strict` does not turn into an error. `ignoreKeys` removes such keys, from every check.

`x18n prompt translate --to <locale> --check identical-to-source` puts the reported values on the translate prompt. See [Translate reported values](https://x18n.dev/agents/prompts#translate-reported-values).

## Configure

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

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

export default defineConfig({
  checks: {
    'identical-to-source': 'off',
  },
})
```

`x18n check --only identical-to-source` runs this check alone. `x18n check --skip identical-to-source` 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.
