Translate string inside twig template

I managed to assign a variable to context. $context = Timber::get_context(); $context[‘search_placeholder’] = __(“Suche”,”pixel_framework”); Timber::fetch(‘test.twig’,$context); inside twig <input type=”text” id=”s” name=”s” value=”” placeholder=” {{search_placeholder}}”>

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)