Displays a localized version of string used as parameter.
If the string used as parameter does not exist in the default locale files, the <tpl:lang> tag will display your exact string.
For a blog with default language as French (fr):
{{tpl:lang Add a comment}}
displays, in French: "Ajoutez un commentaire."
{{tpl:lang Your comment has been published.}}
displays, in French "Votre commentaire a été publié."
For a blog with default language as English (en):
{{tpl:lang C'est la vie !}}
displays "C'est la vie !"
Wiki powered by Dokuwiki.