You are here

public function MessageCatalogueInterface::addFallbackCatalogue in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/translation/MessageCatalogueInterface.php \Symfony\Component\Translation\MessageCatalogueInterface::addFallbackCatalogue()

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.

Parameters

MessageCatalogueInterface $catalogue A MessageCatalogueInterface instance:

1 method overrides MessageCatalogueInterface::addFallbackCatalogue()
MessageCatalogue::addFallbackCatalogue in vendor/symfony/translation/MessageCatalogue.php
Merges translations from the given Catalogue into the current one only when the translation does not exist.

File

vendor/symfony/translation/MessageCatalogueInterface.php, line 120

Class

MessageCatalogueInterface
MessageCatalogueInterface.

Namespace

Symfony\Component\Translation

Code

public function addFallbackCatalogue(MessageCatalogueInterface $catalogue);