Common/EventListener/AbstractSaleListener.php
protected function updateLocale(SaleInterface $sale)
    {
        if (null !== $sale->getLocale()) {
            return false;
        }

        $sale->setLocale($this->localeProvider->getCurrentLocale());

        return true;
    }
protected function updateLocale(SaleInterface $sale)
    {
        if (null !== $sale->getLocale()) {
            return false;
        }

        $sale->setLocale($this->localeProvider->getCurrentLocale());

        return true;
    }
Sets the sale's locale.

@param SaleInterface $sale

@return bool