getLocale(); return $locale === 'en' ? ($this->title_en ?? $this->title_ar) : $this->title_ar; } /** * Get the content in the specified locale, with fallback to Arabic. */ public function getContent(?string $locale = null): string { $locale ??= app()->getLocale(); return $locale === 'en' ? ($this->content_en ?? $this->content_ar ?? '') : ($this->content_ar ?? ''); } }