diff --git a/pages/03.themes/04.twig-tags-filters-functions/02.filters/docs.md b/pages/03.themes/04.twig-tags-filters-functions/02.filters/docs.md index 86346c2f..6b1f35de 100644 --- a/pages/03.themes/04.twig-tags-filters-functions/02.filters/docs.md +++ b/pages/03.themes/04.twig-tags-filters-functions/02.filters/docs.md @@ -422,6 +422,12 @@ Translates a string in a specific language. For more details check out the [mult `'SIMPLE_TEXT'|tl(['fr'])` +### `transliterate` + +To convert accented characters in a string to ASCII equivalents, use the `transliterate` filter: + +`'Czy możesz mi pomóc?'|transliterate` **{{ 'Czy możesz mi pomóc?'|transliterate }}** + ### `truncate` You can easily generate a shortened, truncated, version of a string by using this filter. It takes a number of characters as the only required field, but has some other options: