The "Autotranslator" plugin automatically translates nodes (on creation, move and metadata update) and assets (on metadata update and add to node) within the defined scope.
Warning: to prevent the translation of a lot of assets or nodes that were already translated, only the moved node is translated (if in scope) and not its children or the assets in it. You can either trigger changes for the fields that should be translated, or run the auto translator task (important: set the scope(s) accordingly, everything in any scope will be translated (again)).
Since v2.1.3 only the languages set in the defaultFetchedLocalesForLocalizedFields property will be translated. Older versions can cause an endless loop if they are installed on CELUM 22.1 or newer. This is due to a breaking change from CELUM.
To be configured in {home}/appserver/conf/custom.properties
type: String, required: yes, default: -, since v1.2.0
The license key for the plugin (product: autoTranslator), provided by brix.
type: String, required: yes, default: -
The translation service to be used: "microsoft" (v1.0.0+) or "deepl" (v2.1.0+).
Also set the corresponding properties.
type: String, required: yes (if the microsoft service was selected), default: -
The URL to the microsoft translation service, e.g. https://api.cognitive.microsofttranslator.com/translate?api-version=3.0
.
type: String, required: yes (if the microsoft service was selected), default: -
The subscription key delivered by Microsoft (see Installation).
type: String, required: yes (if the microsoft service was selected and not global url is used), default: -
The region in which the translation subscription was created.
type: String, required: yes (if the deepl service was selected), default: -
The URL to the deepl translation service, e.g. https://api-free.deepl.com/v2/translate
.
type: String, required: yes (if the deepl service was selected), default: -
The deepl API key.
type: String, required: no, default: -, since v2
A scope for asset translations using the search util 2 syntax.
type: String, required: no, default: -, since v2
A scope for node translations. The following parameters are supported:
Example: nodes=1,2,3&nodeTypes=4,5,6&recursive=true&includeParent=false&excludeNodes=7,8,9
type: String, required: no, default: apiUser, since v2
The user to perform the search with. Like this, permissions can be used to define the scope.
type: String, required: no, default: -, since v2
The settings for the translation and the scope with {id}. If nothing is specified then all translatable information fields and the name (for nodes) is translated using the default language as source unless it is empty, then the first non-empty language is used (random).
Example: force=true&name=true&fields=1,2,3&from=en,de&to=fr,it
type: List of String (comma-separated), required: no, default: -, removed in v2
A list of node type Ids which should be ignored.
type: List of String (comma-separated), required: no, default: -, removed in v2
A list of node Ids to ignore (including their children).
type: List of String (comma-separated), required: no, default: -, removed in v2
A list of <assetTypeId>:<informationFieldId> pairs to be ignored.
type: List of String (comma-separated), required: no, default: -, removed in v2
A list of preferred languages. The "Auto Translator" first checks the preferred languages in order and if it finds a non-empty field, this text and the corresponding language are used as a source for the translations. Afterwards, the plugin tries to use the default language. If there was still no non-empty field, then all the available languages are checked (random, order cannot be guaranteed).
Autotranslator | CELUM (min. version) |
---|---|
1.0 | 5.13.3 |
1.2.4 | 5.13.4+ (tested with 6.8) |
2.0.0 | 6.4+ (tested with 6.8) |
2.1.0 | 6.4+ (tested with 6.8) |
Released 2018-07-09
Initial Version
Released 2019-01-28
Added license
Completely reworked with Scopes, forced translations etc.
Released 2021-11-26
Added deepl support