public function DefaultTranslator::getLocale in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/DefaultTranslator.php \Symfony\Component\Validator\DefaultTranslator::getLocale()
Returns the locale of the translator.
Return value
string Always returns 'en'
Overrides TranslatorInterface::getLocale
File
- vendor/
symfony/ validator/ DefaultTranslator.php, line 167
Class
- DefaultTranslator
- Simple translator implementation that simply replaces the parameters in the message IDs.
Namespace
Symfony\Component\ValidatorCode
public function getLocale() {
return 'en';
}