Glasnost

help

 

Additional TAL statements: translate

To translate the content of an element in a template:

<a href="/" tal:translate="">Home</a>

The content must be in English.

The content to translate can be in another language, but this is not recommended. The previous solution is more optimized.

<a href="/" tal:translate="fr">Accueil</a>
up