public function TranslatorInterface::getLocale in Plug 7
Returns the current locale.
@api
Return value
string The locale
5 methods override TranslatorInterface::getLocale()
- DataCollectorTranslator::getLocale in lib/
Symfony/ translation/ DataCollectorTranslator.php - @api
- DefaultTranslator::getLocale in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ DefaultTranslator.php - Returns the locale of the translator.
- IdentityTranslator::getLocale in lib/
Symfony/ translation/ IdentityTranslator.php - @api
- LoggingTranslator::getLocale in lib/
Symfony/ translation/ LoggingTranslator.php - @api
- Translator::getLocale in lib/
Symfony/ translation/ Translator.php - @api
File
- lib/
Symfony/ translation/ TranslatorInterface.php, line 74
Class
- TranslatorInterface
- TranslatorInterface.
Namespace
Symfony\Component\TranslationCode
public function getLocale();