I've been trying to make Timber render and translate templates with {% trans %} tags.
I created a .po tranlation file with poedit and Twig-Gettext-Extractor but cannot find a way to make it work with Timber. I added the i18n internationalization extension to twig via Timber get_twig
hook but I could not configure my wordpress theme to work. I tried different things from twig docs and here without success.
Is there someone who uses Timber and twig templates with {% trans %} tags and wants to share its config?
setlocale('fr_FR.UTF-8')
. – François Lefebvre