wp i18n make-pot… problems
-
I don’t know why in this part I always fail by using wp-cli trying to make the pot file, I’ve tried several tutorial before and always fail at this stage. I have wp-cli correctly installed then when I run this command to create the pot file:
wp i18n make-pot . languages/udemy-plus.pot
I got a bunch of errors, as an example…
'39661-40045' => ['prev' => 39661, 'next' => 40045, 'comments' => [0 => class Peast\Syntax\Token { ... }, 1 => class Peast\Syntax\Token { ... }, 2 => class Peast\Syntax\Token { ... }, 3 => class Peast\Syntax\Token { ... }, 4 => class Peast\Syntax\Token { ... }]],
and..
11.7518 52347560 256. Peast\Syntax\CommentsRegistry->onTokenConsumed($token = class Peast\Syntax\Token { public $type = 'String'; public $value = '"default"'; public $location = class Peast\Syntax\SourceLocation { public $start = class Peast\Syntax\Position { protected $line = 2979; protected $column = 58; protected $index = 123953 }; public $end = class Peast\Syntax\Position { protected $line = 2979; protected $column = 67; protected $index = 123962 } } }) phar://C:/laragon/usr/bin/wp-cli/wp-cli.phar/vendor/mck89/peast/lib/Peast/Syntax/EventsEmitter.php:57
Those kind of lines massively, any idea what’s going on?
BTW I know that my code it’s not the problem because I can generate the myDomain.pot file with qsandbox tool online, but would like to know how to configure wp-cli to get the desire result if it’s possible.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp i18n make-pot… problems’ is closed to new replies.