You can make various language settings in the project settings for the content project or language project.
Click on the"Project settings" button to open a new window with the settings for the content project.
You can use this selection box to optionally select the language abbreviation with associated flag that is to be assigned to the content project. The selection is only required for content projects that are to be managed via the additional module Language management and the language selection in the presence.
In this field, you optionally select the directory that is to be used as the default language project. New language files and language directories may only be created via the project specified here (recommended for multilingual projects and use of the Extended language management module, see also developer article).
If this parameter is activated, the language interface is informed of this language as the source language so that it does not have to be determined automatically.
If this parameter is activated, when a file is deleted within the standard language project, the system asks whether the linked language pages should also be deleted.
When a file is deleted, the corresponding selection is made via the "Confirm deletion" screen:
This option is only available in the standard language project.
You can use this selection box to specify whether the structure of the reference language (main language) can be adopted in this language (e.g. en) depending on the setting in the project.
This setting is only available in languages that refer to another language project (main language) via the"Default language project" field.
The following selection options are available for this:
A structure reference is used to specify the structure via the main language and thus makes fully automatic translation possible in the first place. Individual pages, which are maintained individually, do not require a structure reference.
If this parameter is activated, the structure references can be linked manually per file.
Within the file explorer, the selection "Create structure reference" or "Delete structure reference" then also appears in the context menu for a file.
This setting only appears if it is permitted to adopt structure references.
By clicking on the "Create definitions" button, you can optionally create a page structure definition for the language based on the system definitions.
There you can define specifically via xpath specification which text areas are to be recorded.
The target language can be manually defined differently in the wProject.php of the language project. This can be useful, for example, if you have various English-language country pages that are to be translated into British English.
/wProject/language/@deeplTargetLang
For country codes see: deepL-API (Translating text)