li-language

Supported Features

Document
Media
Include
Document Creation Flow
Push Message
Usage Log
Table Dashboard
Display Filter
Search Indexing
System Metadata
Planning System
Webhook Conditions

Description

When adding li-language, it allows a user to translate articles and pages into different languages. Additionally you need to enable translationWorkflow and requiredOnCreation.

Data Records also support translations, but need to add the metadata plugin li-metadata-translations.

Default UI

Optional but can be configured as follows:

ui: {
  label: 'Language', // optional
  config: {
    readOnly: true // optional, default: false
  }
}

This will permit users with multiple languages enabled to change the language metadata field via a dropdown field.

Storage Format

{
  locale: <String>,
  label: <String>, // deprecated, will be removed in release-2024-01
  groupId: <String>
}

Content Type Config

{
  handle: 'myContentType',
  // ...
  metadata: [
    {
      handle: 'myHandle',
      type: 'li-language',
      config: {
        index: true         // optional, default: false. Added in: release-2023-07
      }
    }
    // ...
  ]
}