protected function translateToken(array $token)
    {
        $identifier = is_string($token[0]) ? null : $token[0];
        $value = $token[2];

        $result = $this->translateTokenFromIdentifier($identifier, $value);

        if ($result === null) {
            throw new BuildException(sprintf('No available translation for "%s"', $value));
        }

        return $result;
    }