Comments (6)
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.
i dont know why my route group isnt work... i have 404.. with group routes.. i
from laravel-multilingual-routes.
@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.
Ok then... also i need to know why translate isn't work...
Facade\Ignition\Exceptions\ViewException Route [contact.store] not defined
from laravel-multilingual-routes.
@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.
from laravel-multilingual-routes.
Related Issues (20)
- Default route is not defined HOT 2
- Possible to use subdomain/domain instead of /en/home HOT 3
- Customize 404 and 500 error pages HOT 2
- Redirections HOT 4
- Prefixed route results in 404 HOT 13
- Another Question - localized_route HOT 7
- How use multilingual for /{slug} HOT 2
- On 404 page, current_route with fallback throws an error HOT 2
- locale() method never return "en" for default (for fallback lang) route HOT 1
- Add a slash at the end of multilingual Home routes HOT 5
- Maximum function nesting level of '256' reached, aborting! HOT 2
- Binding routes not working HOT 1
- Error when Route not defined for this locale HOT 4
- InvalidArgumentException Attribute [multilingual] does not exist. HOT 2
- Not detecting 'as' in routes HOT 1
- Prefixed routes are malformed after route:cache command HOT 1
- current_route compatibility with spatie/laravel-translatable and spatie/laravel-sluggable? HOT 5
- How to deal with Route::resource()? HOT 1
- Prefixed routes do not localize the URI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-multilingual-routes.