public static function getContentLocale() : string { if (!static::isValidLocale(locale())) { return config('app.locales')[0]; } return locale(); }
function content_locale() : string { return \App\Services\Locale\CurrentLocale::getContentLocale(); }