<?php
namespace My\Addon\XF;
class Language extends XFCP_Language
{
public function renderPhrase($name, array $params = [], $context = 'html', array $options = [])
{
$phrase = parent::renderPhrase($name, $params, $context, $options);
$filters = [ 'A', 'E', 'I', 'O', 'U', 'a', 'e', 'i', 'o', 'u' ];
return str_replace($filters, '', $phrase);
}
}