Plugin TR
Introduced in Tiki2
Use this wiki plugin to translate text into the current user language.
Parameters
Translate text to the user languageIntroduced in Tiki 2.
Go to the source code
Preferences required: feature_multilingual, wikiplugin_tr
| Parameters |
|---|
| (body of plugin) - string |
| no parameters |
Example
{TR()}Will be translated in the site language{TR}
{TR(lang="fr")}Will be translated in French language{TR}
Be careful that the syntax is different from the smarty syntax {tr} {/tr} {tr lang="fr"} {/tr}