diff --git a/docs/content/documentation/templates/overview.md b/docs/content/documentation/templates/overview.md index 24fc0b5f..a42b0cac 100644 --- a/docs/content/documentation/templates/overview.md +++ b/docs/content/documentation/templates/overview.md @@ -331,11 +331,12 @@ The format is also taken into account when caching, so a request will be sent tw different formats. ### `trans` -Gets the translation of the given `key`, for the `default_language` or the `lang`uage given +Gets the translation of the given `key`, for the `default_language`, the `lang`uage given or the active language: ```jinja2 {{/* trans(key="title") */}} {{/* trans(key="title", lang="fr") */}} +{{/* trans(key="title", lang=lang) */}} ``` ### `resize_image`