DeepLTranslationMacro

Version 1.1 by Georg Klimm on 199.07.2024
Warning
For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

This macro allows to add a translation link, which will then be used to translate any HTML block in a wiki page. The macro can be added inline or as a block.

Usage

ParameterMandatoryDescriptionDefault value
cssSelectorYesFailed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:DeepL.Code.DeepLTranslationMacro]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
N/A
classSelectorNoFailed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:DeepL.Code.DeepLTranslationMacro]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
N/A
extraCssClassesNoFailed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:DeepL.Code.DeepLTranslationMacro]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.
N/A

Example

This is a text in english. If you access this page with the wiki configured in another language, you should see a translate link appearing below.

Translate in English