public function MessageCatalogueInterface::addFallbackCatalogue in Plug 7
Merges translations from the given Catalogue into the current one only when the translation does not exist.
This is used to provide default translations when they do not exist for the current locale.
@api
Parameters
MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance:
1 method overrides MessageCatalogueInterface::addFallbackCatalogue()
- MessageCatalogue::addFallbackCatalogue in lib/
Symfony/ translation/ MessageCatalogue.php - @api
File
- lib/
Symfony/ translation/ MessageCatalogueInterface.php, line 144
Class
- MessageCatalogueInterface
- MessageCatalogueInterface.
Namespace
Symfony\Component\TranslationCode
public function addFallbackCatalogue(MessageCatalogueInterface $catalogue);