Lexique

Supported JSON shapes

Lexique supports single-locale files and multi-locale key maps. Single-locale imports use the locale selected in the import modal.

{
  "checkout.pay": "Pay",
  "checkout.cancel": "Cancel"
}

{
  "checkout.pay": {
    "en": "Pay",
    "fr": "Payer"
  }
}

Supported YAML shape

YAML imports currently focus on flat translation maps. Pick the target locale during import.

checkout.pay: Pay
checkout.cancel: Cancel

Import behavior

  • Existing keys are updated rather than duplicated.
  • New keys are created with their detected or selected locale value.
  • Tags and context can be added after import to support review workflows.
  • Repository import reads only selected files, not every file in the repository.