code: public function getDirty()
      {
          $dirty = parent::getDirty();
  
          if (!$this->localeChanged) {
              return $dirty;
          }
  
          foreach ($this->translatableAttributes() as $key) {
              if (isset($this->attributes[$key])) {
                  $dirty[$key] = $this->attributes[$key];
              }
          }
  
          return $dirty;
      }
docs: Get the attributes that have been changed since last sync.
  
  @return array