DeepLTranslationMacro


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
cssSelectorYesIndicate which CSS block should be translated.N/A
classSelectorNoAllows to only display the translation link if the current page has at least one object of the class specified in classSelector. If the parameter is empty, no restriction gets applied.N/A
extraCssClassesNoAllows to only display the translation link if the current page has at least one object of the class specified in classSelector. If the parameter is empty, no restriction gets applied.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 Nederlands

Over de website-inhoud

Alle informatie die u hier vindt is ter informatie, geen medisch advies! De plaats voor het vinden van specifieke medische adviezen, diagnoses en de behandeling is uw arts. Gebruik van deze site is strikt op eigen risico. Als u vind dat iets onjuist is, verduidelijking behoeft, verbeterd kan worden, doe dan mee, meld uzelf aan op onze website en stel een verbetering voor. Mocht U dit liever per email doen dan kan dat ook!

Stuur een email: vereniging@cdlsworld.org