To configure the plugin you can customieze the config file called intl-input.json
in your studio's config
folder. If you need specific configuration you can keep in mind, any global config can be overriden per schema.
Below are all available configuration options.
base
: This is the ID of the base/default language (if not specified the first language is used)languages
: This option specifies the available language options. This can be any of the following (see Advanced Languages for more information)- Simple list of language ID strings
- List of language objects (containing
name
andtitle
) - GROQ query option
idStructure
: Can besubpath
(default) ordelimiter
. This option defines how the translated documents are saved.referenceBehavior
: Can behard
(default),weak
ordisabled
. This option defines how the translated documents are referenced in the parent documentfieldNames
: This option configures the field names used for document wide translationlang
: The name of the language field (__i18n_lang
)references
: The name of the references field (__i18n_refs
)
messages
: These are the configurable messages. Can be used to override the default English messages, labels and titles.publishing
: Defaults toPublishing...
publish
: Defaults toPublish
loading
: Defaults toLoading languages...
missing
: Defaults toMissing
draft
: Defaults toDraft
missingTranslations
: Defaults toFollowing languages are missing some translations compared to the base language
deleteAll
buttonTitle
: Defaults toDelete (incl. translations)
deleting
: Defaults toDeleting...
translationsMaintenance
title
: Defaults toTranslation Maintenance
selectSchemaPlaceholder
: Defaults toSelect schema type
idStructureMismatch
: Defaults todocument(s) with mismatched ID structures
missingLanguageField
: Defaults todocument(s) are missing the language field
missingDocumentRefs
: Defaults todocument(s) have missing translation references
orphanDocuments
: Defaults toorphaned translation document(s)
referenceBehaviorMismatch
: Defaults todocument(s) with mismatched reference behaviors
fix
: Defaults toFix