---
title: "glossary"
description: "A glossary term translated differently from the glossary."
canonical_url: "https://x18n.dev/checks/glossary"
---
# glossary

> A glossary term translated differently from the glossary.

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

A glossary term translated differently from the glossary.

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

The check reads the `glossary` config. For each term in a source value, it expects the target value to hold the translation of the term, or the term itself when `doNotTranslate` is `true`. A term and a translation match as whole words, so "Home" does not match "Homepage".

In a language that inflects or compounds its nouns, list the forms the check should also accept under `forms`, per locale: `{ term: 'Date', translations: { nb: 'Dato' }, forms: { nb: ['datoen', 'datoer'] } }`. A form matches at the start of a word, so a compound stem such as `bestillings` covers "bestillingssiden". Forms under the source locale count as uses of the term, so `forms: { en: ['bookings'] }` has "Your bookings" checked too.

## Configure

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

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

export default defineConfig({
  checks: {
    glossary: 'off',
  },
})
```

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