Giter Site home page Giter Site logo

Comments (6)

chinleung avatar chinleung commented on May 18, 2024

The controller class App\Http\Controllers\FrontController is not invokable. Did you forget to add the __invoke method or is the controller's method missing in your routes file?

@Heqma Can you show the contents of the FrontController please? Do you have an __invoke method?

from laravel-multilingual-routes.

Heqma avatar Heqma commented on May 18, 2024

image
image
i dont know why my route group isnt work... i have 404.. with group routes.. i

from laravel-multilingual-routes.

chinleung avatar chinleung commented on May 18, 2024

@Heqma There's currently an issue with prefixes. I'll be working on this soon. For the moment, you can do it without the prefix method.

I'll be closing this since it's a duplicate of #50.

from laravel-multilingual-routes.

Heqma avatar Heqma commented on May 18, 2024

Ok then... also i need to know why translate isn't work...
image
image

Facade\Ignition\Exceptions\ViewException Route [contact.store] not defined

from laravel-multilingual-routes.

chinleung avatar chinleung commented on May 18, 2024

@Heqma When you use the name method, it adds the locale prefix to the route's name. So it would either be pl.contact.store or en.contact.store. Or you can use the helper localized_route('contact.store').

You can view the list of your application's routes with php artisan route:list to confirm their names.

from laravel-multilingual-routes.

Heqma avatar Heqma commented on May 18, 2024

image

image
image
image

from laravel-multilingual-routes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.