public function MessageCatalogueInterface::replace in Plug 7
Sets translations for a given domain.
@api
Parameters
array $messages An array of translations:
string $domain The domain name:
1 method overrides MessageCatalogueInterface::replace()
- MessageCatalogue::replace in lib/
Symfony/ translation/ MessageCatalogue.php - @api
File
- lib/
Symfony/ translation/ MessageCatalogueInterface.php, line 111
Class
- MessageCatalogueInterface
- MessageCatalogueInterface.
Namespace
Symfony\Component\TranslationCode
public function replace($messages, $domain = 'messages');