You are here

public function MessageCatalogue::getLocale in Zircon Profile 8

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

Gets the catalogue locale.

Return value

string The locale

Overrides MessageCatalogueInterface::getLocale

1 call to MessageCatalogue::getLocale()
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/MessageCatalogue.php, line 45

Class

MessageCatalogue
MessageCatalogue.

Namespace

Symfony\Component\Translation

Code

public function getLocale() {
  return $this->locale;
}