You are here

public function LoggingTranslator::getLocale in Zircon Profile 8

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

Returns the current locale.

Return value

string The locale

Overrides TranslatorInterface::getLocale

File

vendor/symfony/translation/LoggingTranslator.php, line 78

Class

LoggingTranslator
@author Abdellatif Ait boudad <a.aitboudad@gmail.com>

Namespace

Symfony\Component\Translation

Code

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