-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
Currently, this CLI command supports PHP and two types of JavaScript extraction. Eventually, the code that does this leads back to / depends on: Gettext\Extractors\PhpCode and Gettext\Utils\JsFunctionsScanner
oscarotero/Gettext supports several other extractors, one of them is Blade templates.
Our WordPress project uses Blade templates. The naming convention for Blade templates is: /path/to/name.blade.php The strings inside those files looks like: {{ __( 'My English string', 'my-plugin-name' ) }} The i18n-command finds, scans, and fails to extract anything meaningful from those files.
Please support Blade templates. I'm willing to write a PR to do this if this issue isn't closed as a #wontfix.
Related: #52
Reactions are currently unavailable