Timber & WPML string translation
I just did a quick test and was able to get this to work....
Created files with a translation for "thingy" ==> "foobar"
in en_US.mo
and en_US.po
in wp-content/themes/mytheme/languages
from there...
single.php
$lang_dir = get_stylesheet_directory().'/languages';load_theme_textdomain('mytheme', $lang_dir);Timber::render("single.twig");
single.twig
I like {{ __('thingy', 'mytheme') }}
Output
I like foobar
Try replicating that to see if it works. At least at that point we can isolate things to WPML versus native translate stuff