glossary

A glossary term translated differently from the glossary.

A glossary term translated differently from the glossary.

The check is off by default.

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.

Configure

Turn the check on in checks:

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

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

x18n check --only glossary runs this check alone. x18n check --skip glossary skips it for one run.

Source