You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to override the default registerRoutes method to handle multilingual routes? My project uses Laravel Multilingual Routes, but I think any solution to this use case in Arcanist should be as agnostic as possible. Perhaps an option might be to allow an integrator to bypass Arcanist's automatic registration of routes and document the process for creating all necessary routes independently in a routes/arcanist.php file or something like that.
The text was updated successfully, but these errors were encountered:
Looking at this (#6 (comment)) it seems like the commentor's proposed approach for LiveWire would also involve bypassing Arcanist's route registration. So I guess that's my question—what would be the best way to do so?
This currently isn't supported, unfortunately. The route registration is fairly static. I'm leaving this issue open since I'm gathering feedback on what I should improve in version 1.0 (which will almost be a complete rewrite).
I'm looking at Arcanist for a project which needs to create multilingual routes to support different locales. For example, I'd need something like:
/en/forms/profile/1/about-me
/fr/formulaires/profil/1/a-propos
Is there a way to override the default
registerRoutes
method to handle multilingual routes? My project uses Laravel Multilingual Routes, but I think any solution to this use case in Arcanist should be as agnostic as possible. Perhaps an option might be to allow an integrator to bypass Arcanist's automatic registration of routes and document the process for creating all necessary routes independently in aroutes/arcanist.php
file or something like that.The text was updated successfully, but these errors were encountered: