I AM LISTENING TO
|

WHAT I LIKE

Headless WordPress with the HTTP REST API 2.0+ Flarum – elegant next-generation forum software
Development     PHP     Timber     TWIG    

Get translatable strings from templates into Poedit



1. November 2015

Some options to get those translatable strings out of your templates. I will be adding new things, as I discover them 🙂

  1. xgettext-templateHandlebars & Swig
  2. gettext-twig – {% trans “string here” %}
  3. rtwix – Ruby based TWIG translations extractor
  4. twig-po – Extract translation keys from twig templates and move them to PO
  5. Twig-Gettext-Extractor –  tool which extracts translations from twig templates

Enjoy coding …




Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz