Skip to content

Commit

Permalink
Update docs/docs/templates/reference/tags.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha authored Nov 28, 2024
1 parent a6ab534 commit fb10e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/templates/reference/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Templates that are included using the `include` template are parsed and rendered
## `localize`

The `localize` template tag allows to perform translation lookups by using the of the project. It must take at least one argument (the translation key) followed by keyword arguments.
The localize template tag allows performing localization on values such as dates, numbers, and times by using the [I18n gem](https://crystal-i18n.github.io/localization.html) of the project. It must take at least one argument (the value to localize) followed by an optional format keyword argument.
The `localize` template tag allows performing localization of values such as dates, numbers, and times by using the [I18n gem](https://crystal-i18n.github.io/localization.html), which is leveraged by Marten for its [internationalization features](../../i18n/introduction.md). It must take at least one argument (the value to localize) followed by an optional `format` keyword argument.

For example, the following lines are valid usages of the localize tag:

Expand Down

0 comments on commit fb10e1e

Please sign in to comment.