Drupal is a registered trademark of Dries Buytaert

twig_intl

50 sites Security covered
View on drupal.org
There's a known core issue when using Twig IntlExtension: #3419294: Custom Core Twig Filter "format_date" conflicts with twig/intl-extra

Provides the Twig IntlExtension (twig/intl-extra) in Drupal, so that Twig functions relying on it can be used in Twig templates.

For example:

(See https://github.com/twigphp/intl-extra for details)

You need this module, when you plan to use one of these Twig functions that point out:

This twig function is part of the IntlExtension which is not installed by default. Install it first: [...]

Installation

Simply install this module with its dependencies! No configuration needed,

composer require drupal/twig_intl && drush en twig_intl
Composer is needed to fetch the dependencies!

Alternatives:

Heavily inspired by the Twig Extensions module by @joelpittet - thank you!

Supporting this module

Support DROWL's ♥ FOSS work on this module on OpenCollective!

Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!

We're committed to building and maintaining Drupal modules that benefit the entire community.

Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!

If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.

Support our FOSS development ♥️

You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!

Sponsor a feature or bugfix 🚀

Let's make Drupal even better, together!

Development proudly sponsored by German Drupal Friends & Companies:

webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (https://www.drowl.de)

Activity

Total releases
1
First release
Feb 2025
Latest release
1 year ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-rc3 Pre-release Feb 5, 2025