Laravel Multi Language Translation using lang() Helper Tutorial

Posted in CategoryLaravel
  • S
    Sultanos 1 month ago

    First thanks for the tutorial , i think i have not skipped any file, i have checked twice, nevertheless i am getting the following error, any help would be apreciated.

    InvalidArgumentException thrown with message "View [.] not found."

    Stacktrace:
    #52 InvalidArgumentException in /home/HDTB/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
    #51 Illuminate\View\FileViewFinder:findInPaths in /home/HDTB/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:79
    #50 Illuminate\View\FileViewFinder:find in /home/HDTB/vendor/laravel/framework/src/Illuminate/View/Factory.php:128
    #49 Illuminate\View\Factory:make in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:1007
    #48 view in /home/HDTB/routes/web.php:27
    #47 Illuminate\Routing\Router:{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Route.php:198
    #46 Illuminate\Routing\Route:runCallable in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Route.php:172
    #45 Illuminate\Routing\Route:run in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Router.php:679
    #44 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
    #43 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41
    #42 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #40 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75
    #39 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #38 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #37 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
    #36 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #34 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63
    #33 Illuminate\Session\Middleware\StartSession:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #31 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
    #30 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #28 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66
    #27 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #25 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104
    #24 Illuminate\Pipeline\Pipeline:then in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Router.php:681
    #23 Illuminate\Routing\Router:runRouteWithinStack in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Router.php:656
    #22 Illuminate\Routing\Router:runRoute in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Router.php:622
    #21 Illuminate\Routing\Router:dispatchToRoute in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Router.php:611
    #20 Illuminate\Routing\Router:dispatch in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176
    #19 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
    #18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/fideloper/proxy/src/TrustProxies.php:57
    #17 Fideloper\Proxy\TrustProxies:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31
    #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31
    #11 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27
    #8 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62
    #5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151
    #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
    #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/HDTB/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104
    #2 Illuminate\Pipeline\Pipeline:then in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151
    #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/HDTB/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116
    #0 Illuminate\Foundation\Http\Kernel:handle in /home/HDTB/public/index.php:62

Please login or register to leave a response.

* You May Also Like Bellow Issue to check *