I'm creating a custom multilingual template. I used {% trans %} function in the twig. After adding new language I could not found the text i placed between trans tag. Do I need to configure sth more to get these strings into drupal's translations panel ?

   {% trans %}   Do you have any ideas or questions? Feel free to contact us, using the form below.  {% endtrans %}
  • 2
    You have to load the page once in the target language, see How do I translate strings in Twig templates?
    – 4uk4
    Jun 4, 2016 at 13:45
  • The translation is at contact page. I've visited this page with the language prefix. The language has been detected (I've checked via php) and i cannot find them at user interface translations
    – El Danielo
    Jun 4, 2016 at 15:17


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.