You are here

public function DefaultTranslator::getLocale in Plug 7

Returns the locale of the translator.

Return value

string Always returns 'en'

Overrides TranslatorInterface::getLocale

File

lib/Symfony/validator/Symfony/Component/Validator/DefaultTranslator.php, line 163

Class

DefaultTranslator
Simple translator implementation that simply replaces the parameters in the message IDs.

Namespace

Symfony\Component\Validator

Code

public function getLocale() {
  return 'en';
}