---
title: MatchingSchemaTranslations
description: Validates translations in schema locale files.
source_url:
  html: >-
    https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/matching-schema-translations
  md: >-
    https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/matching-schema-translations.md
api_name: liquid
---

# Matching​Schema​Translations

Identifies missing or additional translations in [schema locale files](https://shopify.dev/docs/storefronts/themes/architecture/locales/schema-locale-files).

***

## Examples

The following examples contain code snippets that either fail or pass this check.

### ✗ Fail

The following locale files aren't consistent:

## en.default.schema.json

```json
{
  "greeting": "Hello, world",
  "goodbye": "Bye, world"
}
```

`es.schema.json` is missing `greeting` and `goodbye` translations:

## es.schema.json

```json
{
}
```

`fr.schema.json` is missing `greeting` and has a `goodby` tag that isn't present in the default locale:

## fr.json

```json
{
  "goodby": "Au revoir, monde"
}
```

### ✓ Pass

The following locale files are consistent:

## en.default.schema.json

```json
{
  "greeting": "Hello, world",
  "goodbye": "Bye, world",
  "pluralized_greeting": {
    "one": "Hello, you",
    "other": "Hello, y'all",
  }
}
```

## fr.schema.json

```json
{
  "greeting": "Bonjour, monde",
  "goodbye": "Au revoir, monde",
  "pluralized_greeting": {
    "zero": "Je suis seul :(",
    "few": "Salut, groupe!"
  }
}
```

***

## Options

The following example contains the default configuration for this check:

```yaml
MatchingSchemaTranslations:
enabled: true
severity: error
```

| Parameter | Description |
| - | - |
| `enabled` | Whether the check is enabled. |
| `severity` | The [severity](https://shopify.dev/themes/tools/theme-check/configuration#check-severity) of the check. |

***

## Disabling this check

Disabling this check isn't recommended because it might result in an inconsistent translation experience for some users.

***
