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 dansk

Om indholdet af hjemmesiden

Alle oplysninger på dette websted er udelukkende til undervisningsformål. Det er din læge, der er det rette sted at få specifik medicinsk rådgivning, diagnoser og behandling. Brug af dette websted sker udelukkende på eget ansvar. Hvis du finder noget, som du mener, der skal rettes eller præciseres, bedes du give os besked på: 

Send en e-mail: info@cdlsWorld.org