Support » Plugin: Theme and plugin translation for Polylang (TTfP) » Good to have a way to customize the translate function in twig, e.g using ___()

  • For now, in twig template, i need to use ppl__() method as translation function. It would be good if this plugin allows us to use __() function in twig.

Viewing 1 replies (of 1 total)
  • Plugin Author marcinkazmierski

    (@marcinkazmierski)

    Thank you for the suggestion 🙂
    I think it’s possible. I think I have to handle the “gettext” wordpress filter by add_filter.
    I will try to do it in my next free time!

    Regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this review.