CodeExplorer addAccents example
foreach ($this->
getParts($this->translator->
trans($id,
$parameters,
$domain,
$locale)) as [$visible,
$localizable,
$text]) { if ($visible) { $visibleText .=
$text;
} if (!
$localizable) { $trans .=
$text;
continue;
} $this->
addAccents($trans,
$text);
} $this->
expand($trans,
$visibleText);
$this->
addBrackets($trans);
return $trans;
} public function getLocale(): string
{