public static function getTranslatables($template, $warnIfEmpty = true)
    {
        // Run the parser and throw away the result
        $parser = new Parser($template, $warnIfEmpty);
        if (substr($template, 0, 3) == pack("CCC", 0xef, 0xbb, 0xbf)) {
            $parser->pos = 3;
        }
        $parser->match_TopTemplate();
        return $parser->getEntities();
    }