method analyzeHtml documentation in bbn\Appui\I18n

Returns the strings contained in the given html file

function(string $file) { $res = []; $js = file_get_contents($file); if ($tmp = \Gettext\Translations::fromVueJsString( '', [ 'functions' => [ '_' => 'gettext', 'bbn._' => 'gettext' ] ] ) ) { foreach ($tmp->getIterator() as $r => $tr){ $res[] = $tr->getOriginal(); } $this->parser->mergeWith($tmp); } return array_unique($res); }

Returns the strings contained in the given html file BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.