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