feat: add new translation files for app development, corporate, home menu, and miscellaneous site content, enhancing multilingual support and user experience
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Page;
|
||||
use App\Models\SiteTranslation;
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
@@ -107,16 +106,7 @@ class AppDevelopmentPageSeeder extends Seeder
|
||||
}
|
||||
|
||||
foreach ($this->englishTranslations as $key => $english) {
|
||||
SiteTranslation::updateOrCreate(
|
||||
['hash' => md5($key)],
|
||||
[
|
||||
'key' => $key,
|
||||
'translations' => [
|
||||
'tr' => $key,
|
||||
'en' => $english,
|
||||
],
|
||||
]
|
||||
);
|
||||
// Translations are managed by SiteTranslationsSeeder (app_development_translations.php).
|
||||
}
|
||||
|
||||
Page::updateOrCreate(
|
||||
|
||||
Reference in New Issue
Block a user