rocket-a


git -C '/home/opc/rocketa.git' show 09cc738 -- config/app.php

commit 09cc738e17d1ad148bf2243e1f04aefe8cde1fc5
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Thu Oct 9 10:19:51 2025 +0900

    翻訳機能追加+成果受け取りの余計な機能を削除

diff --git a/config/app.php b/config/app.php
index 6bb3e62..2fad2c8 100644
--- a/config/app.php
+++ b/config/app.php
@@ -81,7 +81,7 @@ return [
     */
 
     'locale' => 'ja',
-
+    'locales' => ['ja' => '日本語', 'en' => 'English'],
     /*
     |--------------------------------------------------------------------------
     | Application Fallback Locale
@@ -158,7 +158,7 @@ return [
         Illuminate\Redis\RedisServiceProvider::class,
         Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
         Illuminate\Session\SessionServiceProvider::class,
-        Illuminate\Translation\TranslationServiceProvider::class,
+        // Illuminate\Translation\TranslationServiceProvider::class,
         Illuminate\Validation\ValidationServiceProvider::class,
         Illuminate\View\ViewServiceProvider::class,
         // Imageクラス
@@ -183,9 +183,11 @@ return [
         Maatwebsite\Excel\ExcelServiceProvider::class,
 
         // laravel-dompdf
-        Barryvdh\DomPDF\ServiceProvider::class
-    ],
+        Barryvdh\DomPDF\ServiceProvider::class,
 
+        //Translation
+        App\Providers\DatabaseTranslationServiceProvider::class,
+    ],
     /*
     |--------------------------------------------------------------------------
     | Class Aliases

diff.txt · 最終更新: by root