23 $this->_translate = $translate;
34 $this->
_init($localeCode);
45 $this->
_init($localeCode);
52 protected function _init($localeCode)
54 if ($localeCode !==
null) {
55 $this->_translate->setLocale($localeCode)
__construct(\Magento\Framework\TranslateInterface $translate)
afterEmulate(\Magento\Framework\Locale\ResolverInterface $subject, $localeCode)
afterRevert(\Magento\Framework\Locale\ResolverInterface $subject, $localeCode)