src/Translatable.php
public function getLocale()
    {
        if ($this->overrideLocale) {
            return $this->overrideLocale;
        }

        if (property_exists($this, 'locale')) {
            return $this->locale;
        }

        return TranslatableConfig::currentLocale();
    }
public function getLocale()
    {
        if ($this->overrideLocale) {
            return $this->overrideLocale;
        }

        if (property_exists($this, 'locale')) {
            return $this->locale;
        }

        return TranslatableConfig::currentLocale();
    }
public function getLocale ( ) { if ( $ this -> overrideLocale ) { return $ this -> overrideLocale ; } if ( property_exists ( $ this , 'locale' ) ) { return $ this -> locale ; } return TranslatableConfig :: currentLocale ( ) ; }
Get current locale

@return string
Get current locale