roots / sage

WordPress starter theme with Laravel Blade components and templates, Tailwind CSS, and a modern development workflow
https://roots.io/sage/
MIT License
12.67k stars 3.06k forks source link

Theme Localization problems #2170

Closed AleCss81 closed 5 years ago

AleCss81 commented 5 years ago

Hi, I'm trying to add language files as explained in the Sage docs. I have installed with Homebrew coreutils, findutils and gettext and I have run yarn pot but I'm still receiving this error on terminal:

xargs: xgettext: No such file or directory
error Command failed with exit code 127.

I have copied the code shown on Theme localization page.

I hope you can help me, thanks

roots-ladybug commented 5 years ago

Hi @AleCss81,

It looks like the issue template is missing from this issue. Please take a look at the Contribution Guidelines, which will tell you exactly what your ticket has to contain in order to be processable.

Please do not use the issue tracker for personal support requests (use the Roots Discourse to ask the Roots Community for help, or if you want the Roots Team to dedicate some time to your issue, we offer our services as well).

stefanfisk commented 3 years ago

To anyone who encounters this issue: Extending make-pot to support Blade templates is actually not that complicated. Here's an example that compiles the views and runts the default extractor on them: https://github.com/pressbooks/pb-cli/commit/afe5bb1842dd1660076d657504871f1476b60084